Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

flash: play(index) and load(clip) load encoded url #924

Closed
phloxic opened this issue Sep 18, 2015 · 3 comments
Closed

flash: play(index) and load(clip) load encoded url #924

phloxic opened this issue Sep 18, 2015 · 3 comments
Assignees
Milestone

Comments

@phloxic
Copy link
Contributor

phloxic commented Sep 18, 2015

Flash engine encodes video src when it is given in an argument. This becomes a problem when the URL contains a query: the commands fail.

Demo: http://flowplayer.blacktrash.org/fp6/signed-ondemand-flash.html (long expiry time, that's not the problem).

  1. Compare the URL displayed on the page, and also returned by flowplayer(0).video.url in the console: not encoded - to the URL logged by debug: encoded.
  2. load() without arguments succeeds, api.play(0) and also - tested from console - flowplayer(0).play(flowplayer(0).video.src) fail.

Why is the internal url encoding needed? Why does load() not do it, so it seems?

First reported here: https://flowplayer.org/forum/#!/scripting_api:problem-switching-playlist

@phloxic
Copy link
Contributor Author

phloxic commented Sep 26, 2015

nnarhinen added a commit that referenced this issue Nov 2, 2015
@nnarhinen nnarhinen assigned nnarhinen and unassigned anssip Nov 2, 2015
@nnarhinen
Copy link
Member

@blacktrash Should be fixed on the assets at http://demos.948f.flowplayer.me/

@nnarhinen nnarhinen added this to the 6.0.4 milestone Nov 2, 2015
@phloxic
Copy link
Contributor Author

phloxic commented Nov 3, 2015

👍

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

No branches or pull requests

3 participants