Comments (4)
This one will be interesting to fix. Right now, setting src on the player won't do anything until play() is called.
In situations where something is currently playing, what should the fallback player do when src is set?
from video-js-swf.
Hmm. The main reason for binding to the loadedmetadata event is to make sure the HTML5 api is ready. (if you try to call currentTime before that it will throw an error). So we might need to come up with another event that covers both players. After you set the source in flash, can you call seek before you call play the first time?
from video-js-swf.
Nope - the source URL is actually set within the initial NetStream.play() call. In an HTTP context, there will never be a way (pseudostreaming aside) to start playback at any offset greater than 0. In an RTMP context, an offset can be specified when the initial NetStream.play() call is made, and assuming it's valid (not greater than the length of the asset) playback will start at that point. Regardless though, calling NetStream.seek() or setting currentTime on the swf (which essentially does the same thing) will do nothing prior to the inception of video playback.
from video-js-swf.
What are next steps on this?
from video-js-swf.
Related Issues (20)
- Chrome going to block flash HOT 2
- On demand RTMP needs to specify file extension on NetStream.play() HOT 3
- Cannot play flv files with cloudfront and signed urls HOT 1
- Lost Query String HOT 1
- trying to play .swf file with video js HOT 1
- How to support video slices?
- `FCsubscribe` call breaks stream authentication HOT 2
- how about on android and IOS ? HOT 1
- muted() is dependent on volume level HOT 3
- Action required: Greenkeeper could not be activated 🚨
- Play RTMP stream with 'Shockwave flash object ActiveX' error
- [bug]currentTime is not correct HOT 4
- Dose it support AES-128 playing ? HOT 1
- rtmp stream not support? HOT 10
- if (vid.hasOwnProperty("vjs_play")) always return false HOT 3
- video-js-swf is not working in Microsoft Edge HOT 1
- take snapShot not support ? HOT 5
- Can you change playbackRate? HOT 1
- RTMP can play in electron's development mode but cannot play in product mode HOT 6
- how get time from iframe header (rtmp stream) ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from video-js-swf.