We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The first example of the documentation should be.
function(){ var player = this; // Add dynamically sources via updateSrc method player.updateSrc([ { src: 'http://media.xiph.org/mango/tears_of_steel_1080p.webm', type: 'video/webm', label: '360' }, { src: 'http://mirrorblender.top-ix.org/movies/sintel-1024-surround.mp4', type: 'video/mp4', label: '720' } ]) player.on('resolutionchange', function(){ console.info('Source changed to %s', player.src()) }) } )
instead of
function(){ // Add dynamically sources via updateSrc method player.updateSrc([ { src: 'http://media.xiph.org/mango/tears_of_steel_1080p.webm', type: 'video/webm', label: '360' }, { src: 'http://mirrorblender.top-ix.org/movies/sintel-1024-surround.mp4', type: 'video/mp4', label: '720' } ]) player.on('resolutionchange', function(){ console.info('Source changed to %s', player.src()) }) })
Otherwise it will give ReferenceError: player is not defined error.
ReferenceError: player is not defined
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The first example of the documentation should be.
instead of
Otherwise it will give
ReferenceError: player is not defined
error.The text was updated successfully, but these errors were encountered: