1
votes

I've try to make the direct url of Google Video to work with JWPlayer but always get the error:

Error loading player: No playable sources found.

Here is my code:

<div id="myElement">Loading the player...</div>
<script type="text/javascript">
    jwplayer("myElement").setup({
        file: "https://r6---sn-i3b7sney.c.docs.google.com/videoplayback?requiressl=yes&shardbypass=yes&cmbypass=yes&id=2b899e7ff80b620f&itag=18&source=webdrive&app=docs&ip=27.0.15.249&ipbits=0&expire=1425971365&sparams=requiressl,shardbypass,cmbypass,id,itag,source,ip,ipbits,expire&signature=9AAFD9BB484907A6955AA71C68681E81A9E2C0A.AB4113F235720EF4796D58AA422A3FC8EE68B822&key=ck2&mm=30&ms=nxu&mt=1425967720&mv=m&pl=24&type=video/mp4;%20codecs=%22avc1.42001E,%20mp4a.40.2%22&quality=medium",
        width: 320,
        height: 200,
        primary: 'flash',
        type: 'mp4'
    });
</script>

Note: I've try that url with default html5 video tag, it's work well, even with videojs, work well too.

Thanks!

2

2 Answers

0
votes

Google Video is not supported.

We only support the following:

http://support.jwplayer.com/customer/portal/articles/1403635-media-format-support

The only 3rd party source we support is YouTube, via their API.

0
votes

That is because google video expires in certain period, use a php script to generate video's link.

Update: I remember once even I tried docs.google.com videos, but it didn't worded with jw player. So, instead I used googlevideo.com.