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

How to hide .flv video file surce url from my website source code


Hi,
I like to to buy JW Player license copy.

I need to hide my video surce file url. like http://mydomain.com/embed/video-song-1.flv

How to hide video url source file from Jw Player.

Which JW Player Edition i need to select to do that.

Please Help me

Thank You

7 Community Answers

Andrew

JW Player Support Agent  
0 rated :

You can do this by using an external obfuscated js file to house your embed script.
http://javascriptobfuscator.com/

Alternatively, you can use protected streams for your content.

JW Player

User  
0 rated :

Sir can u give more info.

Please sir

JW Player

User  
0 rated :

Can i get a response to my thread ???

JW Player

User  
0 rated :

@Luigi: Is this your thread? No? Then why are you hijacking it?

It's the weekend. Take a deep breath, and relax.

JW Player

User  
0 rated :

http://www.longtailvideo.com/support/forums/jw-player/setup-issues-and-embedding/34121/can-thumbnail-sprites-be-created-with-ffmpeg

JW Player

User  
0 rated :

@Luigi: Again, why are you posting in someone else's thread? Do you not understand how these things work?

Andrew

JW Player Support Agent  
0 rated :

As an example, let’s take a basic embed:

jwplayer(‘my-video’).setup({
file: ‘http://www.longtailvideo.com/jw/upload/bunny.mp4’,
width: ‘640’,
height: ‘360’
});

Now, if we place it through javascriptobfuscator.com, it becomes the following:

var 0×42a5=[“x68x74×74×70x3Ax2Fx2Fx77x77×77×2Ex6Cx6Fx6Ex67x74×61×69x6Cx76x69×64×65x6Fx2Ex63x6Fx6Dx2Fx6Ax77x2Fx75x70×6Cx6Fx61x64×2Fx62x75×6Ex6Ex79x2Ex6Dx70x34”,“x36x34×30”,“x33x36×30”,“x73x65×74×75x70”,“x6Dx79x2Dx76x69×64×65x6F”];jwplayer(0×42a54)0×42a53]({file:0×42a50,width:0×42a51,height:0×42a52});

Now it’s a bit harder to decipher.

Now take that code and put it into a file. Let’s call it embed.js and save it to our directory.

Instead of typing our embed directly into our page, we just have to link to the embed.js file with the following code:

<script src="embed.js"></script>

And that’s it! You’re removing the video file from the webpage itself and obfuscating it.

@Luigi I believe we’ve gotten back to you on your thread. :)

This question has received the maximum number of answers.