This repository has been archived by the owner on Dec 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 311
Preload and ns play #122
Merged
Merged
Preload and ns play #122
Changes from 3 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
27938ab
Make preload boolean reflect string value
gkatsev 86cfc05
Call load on init if preload is not none
gkatsev d3b4f0a
Add the swf
gkatsev b80f6d9
Fire loadeddata earlier
gkatsev 46bfc89
Default preload to true.
gkatsev a0af7ae
Only fire run onmetadata once per video.
gkatsev 5880608
Resume netstream if autoplay or play called.
gkatsev ef187b6
Allow setting autoplay. Get autoplay from model
gkatsev df30cd5
Update the swf
gkatsev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we may want this to be if(loaderInfo.parameters.preload && loaderInfo.parameters.preload != 'none')
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If preload isn't present, we want it to be true. So, I think that check should be ok. But let me double check that we don't get an error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just checked it out and no error is thrown. If preload attribute isn't set on the video element,
loaderInfo.parameters.preload
is set toundefined
, but no error is thrown and we preload the video.