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
{{ message }}
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.
The error occurs because this.player_.options_['sources'] is empty. My video tag has no sources defined as these are loaded dynamically via the script. Can the src also be queried to get a list of videos? Also, this.player_.currentTime() returns 0 no matter where the playback is.
key: 'onStopAppSuccess',
value: function onStopAppSuccess() {
this.casting = false;
var time = this.player_.currentTime();
this.removeClass('connected');
ERROR//--> this.player_.src(this.player_.options_['sources']); <--// ERROR
if (!this.player_.paused()) {
this.player_.one('seeked', function () {
return this.player_.play();
The text was updated successfully, but these errors were encountered:
this.player_.options_['sources'] probably should be rewritten to this.player().currentSrc() so you aren't accessing "private" variables. However, that will only get the previously active source.
Also, the this.player_.options_['sources'] is only generated via the Player.getTagSettings() method that is called in the constructor. So dynamic sources would be impossible to retrieve.
Complex sources aren't even available in video.js, but I have had an outstanding pull request for those features.
If I load the player via the following:
The error occurs because this.player_.options_['sources'] is empty. My video tag has no sources defined as these are loaded dynamically via the script. Can the src also be queried to get a list of videos? Also, this.player_.currentTime() returns 0 no matter where the playback is.
The text was updated successfully, but these errors were encountered: