Skip to content
New issue

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

Javascript API in flowplayer #403

Open
joseluismg opened this issue Oct 14, 2015 · 8 comments
Open

Javascript API in flowplayer #403

joseluismg opened this issue Oct 14, 2015 · 8 comments

Comments

@joseluismg
Copy link

Hi,

sorry for the newbie question, I am new in using this plugin. Is there any Javascript API to use with flowplayer? More specifically I am trying to get a callback when there is a switch in the stream being played. What I mean is if there are calls to onStreamSwitch or any similar and if not if this is going to be in the added in the future?

many thanks!

@joseluismg joseluismg changed the title Javascript APIin flowplayer Javascript API in flowplayer Oct 15, 2015
@mangui
Copy link
Owner

mangui commented Oct 15, 2015

Hi, it might be feasible, maybe @blacktrash could answer ?

@phloxic
Copy link

phloxic commented Oct 16, 2015

I assume the onMetaData, and onMetaDataChange clip events - http://flash.flowplayer.org/documentation/events/clip.html - would be the places to send clip.metaData http://flash.flowplayer.org/documentation/api/clip.html#properties

The events are fired, but flashls provided clips always have metaData undefined. - Aside: I wonder whether therefore setting clip.metaData to false to tell the player not to expect meta data would currently help in some problematic usage scenarios

Here is how this works (or should work) for the bitrate select plugin: http://flowplayer.blacktrash.org/test/brmenu.html

@joseluismg
Copy link
Author

yes, exactly. Would it be possible to have a brmenu like this working with the flashls plugin?

Because I have seen this issue, but It seems open: #124

@phloxic
Copy link

phloxic commented Oct 16, 2015

@joseluismg - But the example deals with explicit URLs for manual selection. I have no idea whether and how flashls' API could be mapped to that.
If this can't be done from flashls' side I doubt that it will be implemented from the core player side in Flowplayer Flash - unless you do it yourself ;-)
We are planning to implement this for Flowplayer HTML5, espcially with hls.js (problem: doesn't work in Safari yet). But it will probably take a while.

@joseluismg
Copy link
Author

@mangui do you think integrating the quality level selection is something feasible or something that will be included at some point? or as alternative do you plan to inlcude a javascript API to handle the quality externally
.

@mangui
Copy link
Owner

mangui commented Oct 27, 2015

@joseluismg
Copy link
Author

@mangui can you pm me, please? [email protected]

@joseluismg
Copy link
Author

do any of you know any developer available to work in this feature? The company where I work is happy to sponsor this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants