Skip to content

Commit

Permalink
feat: Export addFont method (#6975)
Browse files Browse the repository at this point in the history
Resolves #6943
  • Loading branch information
avelad authored Jul 3, 2024
1 parent ef15d13 commit afc3e59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -7340,6 +7340,7 @@ shaka.Player = class extends shaka.util.FakeEventTarget {
*
* @param {string} name
* @param {string} url
* @export
*/
async addFont(name, url) {
if ('fonts' in document && 'FontFace' in window ) {
Expand Down

0 comments on commit afc3e59

Please sign in to comment.