You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After call player.playMediaUnits(units); we got the exception.
Device: IPhone 5 Browser: Safari 11.0
<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><title>Veeplay test</title><linkhref="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"><scriptsrc="https://cdn.veeplay.com/veeplay-web/1.1.1/mp.bundle.js"></script></head><body><divclass="container" style="padding-top: 150px"><!-- Content here --><divid="player" style="border: 1px solid #000;min-height: 500px;"></div></div><script>(async()=>{try{// instantiate main player objectconstplayer=newMediaPlayer('player');// instantiate a MediaBuilder object used for generating MediaUnits for configuring the main content and any abreaksconstbuilder=newMediaBuilder(player);awaitbuilder.configureFromJSON({// Main content unit configuration"content": [{"url": "","autoplay": true,"controls": {}}]});// Retrieve the generated MediaUnits (the main class for encapsulating each piece of content that needs to be played)constunits=awaitbuilder.mediaUnits();// Instruct the player to start playbackplayer.playMediaUnits(units);// player.setMute();}catch(error){console.error(error);}})();</script></body></html>
The text was updated successfully, but these errors were encountered:
There was also an issue on iOS which caused the autoplay parameter to be ignored, it was fixed and the fix will be included in the following release, 1.1.1.
After call
player.playMediaUnits(units);
we got the exception.Device: IPhone 5
Browser: Safari 11.0
The text was updated successfully, but these errors were encountered: