web-player
web-player copied to clipboard
Update shaka-code to avoid depricated Player w/ mediaElement
Player gets warning:
Player w/ mediaElement has been deprecated and will be removed in v5.0 .
We are currently at version v4.9 .
Additional information: Please migrate from initializing Player with a mediaElement; use the attach method instead.
Needs fix: https://shaka-player-demo.appspot.com/docs/api/tutorial-basic-usage.html Update from: const player = new shaka.Player(video); To const player = new shaka.Player(); await player.attach(video);