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
Invoking the reset() function in MediaPlayer.js results in the play() function throwing the "Missing view or source." exception.
With recent changes and issues in dash.js, autoPlay must be enabled (see issue # 1027 #1027). This results in the following sequence of events if reset() is invoked.
reset() sets source and element to null via the following.
functionreset(){//todo add all vars in reset that need to be in hereattachSource(null);attachView(null);protectionController=null;protectionData=null;}
attachSource() invokes resetAndPlay() which then invokes play() if autoPlay is enabled.
play() throws an exception if element or source is not set.
The only way to use reset() at this point is to bracket all invocations as follows
Invoking the reset() function in MediaPlayer.js results in the play() function throwing the "Missing view or source." exception.
With recent changes and issues in dash.js, autoPlay must be enabled (see issue # 1027 #1027). This results in the following sequence of events if reset() is invoked.
reset() sets source and element to null via the following.
attachSource() invokes resetAndPlay() which then invokes play() if autoPlay is enabled.
play() throws an exception if element or source is not set.
The only way to use reset() at this point is to bracket all invocations as follows
The text was updated successfully, but these errors were encountered: