web-player icon indicating copy to clipboard operation
web-player copied to clipboard

Update shaka-code to avoid depricated Player w/ mediaElement

Open malmen237 opened this issue 1 year ago • 0 comments

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);

malmen237 avatar May 31 '24 11:05 malmen237