Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

How to encrypt file path in playlist and jwplayer also can read it?


eg. change below code

<rss version="2.0" xmlns:jwplayer="http://rss.jwpcdn.com/">
<channel>
<item>
<title>Sintel Trailer</title>
<description>Sintel is a fantasy CGI from the Blender Open Movie Project.</description>
<jwplayer:image>/assets/sintel.jpg</jwplayer:image>
<jwplayer:source file="/assets/sintel.mp4" />
</item>
</channel>
</rss>

to

<rss version="2.0" xmlns:jwplayer="http://rss.jwpcdn.com/">
<channel>
<item>
<title>Sintel Trailer</title>
<description>Sintel is a fantasy CGI from the Blender Open Movie Project.</description>
<jwplayer:image>/assets/sintel.jpg</jwplayer:image>
<jwplayer:source file="AgAKb25NZXRhRGF0YQgAAAAAAAhkdXJhdGlvbgBAgQF0DadA2gAFd2lkdGgAQJQAAAAAAAAABmhlaWdodABAhoAA" />
</item>
</channel>
</rss>

6 Community Answers

JW Player

User  
1 rated :

In other words, how to protect video file to be downloaded, please give me some suggestions.

Ethan Feldman

JW Player Support Agent  
1 rated :

I would look over this:

http://www.longtailvideo.com/blog/13088/securing-your-content

JW Player

User  
0 rated :

I find a solution as below, it works fine.

jwplayer("mediaplayer").setup({
width: 640,
height: 360,
playlist: "http://yoursite.com/video.php",
primary: "flash"
});

<?php
$url = trim($_SERVER['HTTP_REFERER']);
$urlinfo = parse_url($url);
$domain = trim($urlinfo['host']);
if($domain != "yoursite.com")
{
exit;
}
?>
<rss version="2.0" xmlns:jwplayer="http://yoursite.com">
<channel>
<item>
<title>Video I</title>
<description>this is video I</description>
<jwplayer:image>preview.jpg</jwplayer:image>
<jwplayer:source file="video.mp4" />
</item>
</channel>
</rss>

Ethan Feldman

JW Player Support Agent  
0 rated :

Thanks for sharing this!

JW Player

User  
0 rated :

and for video normal? without playlist

Ethan Feldman

JW Player Support Agent  
0 rated :

What do you mean?

This question has received the maximum number of answers.