Ever since moving my video to stream from Amazon, I’d been getting a rather annoying error on the otherwise excellent Wordtube plugin with playlists: in essence it refused to play any of the streamed videos on the playlist with the error message ‘playlist could not be loaded due to crossdomain policy restrictions’.
In essence, Wordtube was sending the format it uses to store the location for streamed video direct to the JW Player – instead of the format JW Player needed.
The playlist file was including this:
when it needed to include this:
Fortunately, this was a fairly quick fix. The code for the playlist is in the Wordtube directory at myextractXML.php and you can borrow most of the code to make the necessary change from wordTubeClass::ReturnLocation() in /lib/wordtube.class.php.