Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Video not playing after applying skin

35 replies [Last post]

Video not playing after applying skin.

I got the JW player and a flv movie... working.
I added the code to embed a skin to the player. I see the new skin, but the video is not working anymore. I keep pressing play and nothing... as soon as I'm removing the skin-code (from the html) the video is working...

basic stuff no php...

Video not stopping after applying skin
I tried two skins same problem. When I click to stop, then no sound but video continue to play.

Same here. Added skin to code and video no longer plays. Skin shows ok. Skin added was snel.swf.

I'm having the same problem trying to implement in Indexhibit.

I'm trying a test here:
http://lesliefurlong.com/art/ndxz-studio/site/sample/test.html

The skin is not working, I can't figure out why.

Here's the code.

<div id="preview" class="preview">
<a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Get the Adobe Flash Player to see this video.</a>
</div>
<script type='text/javascript' src='http://lesliefurlong.com/art/video/swfobject.js'></script>
<script type='text/javascript'>
var s1 = new SWFObject('http://lesliefurlong.com/art/video/player.swf', 'player', '320', '240', '9.0.124');
s1.addParam('allowfullscreen', 'true');
s1.addParam('allowscriptaccess', 'always');
s1.addVariable('file','http://lesliefurlong.com/art/video/interference.flv&autostart=true');
s1.addVariable('skin', 'http://lesliefurlong.com/art/video/modieus.swf');
s1.write('preview');
</script>

Thanks for any help!

So, I'm back again - I see I'm not alone into this and nobody from their support is seems to help us... anyway they want to sell that glitch product with great issues for money... :D hilarious.

Hey LongTailVideo are you reading this ?!?

@juliana_mae,

Seems that there is no modieus skin file here:http://lesliefurlong.com/art/video/modieus.swf

@lefTy

Thanks for taking a look.
According to cyberduck modieus.swf is in the video folder. Is there another file that should be there also?

As a test, I tried using the identical source code from the example on longtailvideo.com:

http://lesliefurlong.com/art/ndxz-studio/site/sample/test.html

It works until I get to the step where I change the path to where I have uploaded the skin. At first glance, it seems like lefTy says, that the modieus.swf file must not be there. But it is there!

<div class="skinpreview"><script type="text/javascript" src="http://lesliefurlong.com/art/video/swfobject.js"></script>
<div name="mediaspace" id="mediaspace">

<script type="text/javascript">
var so = new SWFObject('http://lesliefurlong.com/art/video/player.swf','single','320','240','0');
so.addVariable('fullscreen','true');
so.addParam("allowfullscreen","true");
so.addParam("wmode","opaque");
so.addVariable("file", "http://lesliefurlong.com/art/video/interference.flv&autostart=true");

so.addVariable("skin", "http://www.longtailvideo.com/files/skins/modieus.swf");
so.write('mediaspace');
</script></div></div>

FYI for all others with this problem:

I figured it out - you have to change the permissions on your skin.swf file.

How do you do that?

What settings do you need to change?

Ok went back through some of the posts and tried changing my code and it worked finally at 5am in the morning!!

This was the code I had:

<script type='text/javascript' src='swfobject.js'></script>

<div id='mediaspace'>This div will be replaced</div>

<script type='text/javascript'>
var s1 = new SWFObject('player-viral.swf','ply','470','260','9','#');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('wmode','opaque');
s1.addParam('flashvars','file=video.flv');
s1.addParam('flashvars','skin=bekle.swf');

s1.write('mediaspace');
</script>

I just changed the last two addParam lines to these:

s1.addVariable('skin', 'bekle.swf');
s1.addVariable('file', 'video.flv');

That worked for me although I dont have a website it was just getting these working locally so Im not sure if this will help people who having this problem on their websites but Im tired now and gnna sleep!

@juliana_mae

Thanks so much for that tip! Hit the same problem you had and just checked the permissions...changed 'em, works like a charm!

<script src="plugins/content/avreloaded/swfobject.js" type="'text/javascript'"></script>
<div id="mediaspace">qq coisa</div>
<script type="'text/javascript'">// <![CDATA[
var s1 = new SWFObject('plugins/content/avreloaded/player-viral.swf','ply','470','260','9','#');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('wmode','opaque');
s1.addVariable('skin', 'plugins/content/avreloaded/modieus.swf');
s1.addVariable('file', 'images/stories/videos/87602264_104.flv');

s1.write('mediaspace');
// ]]></script>

Hi, i have this code, but, the video never shows up!

help please!!!!

i change that to

<script src="plugins/content/avreloaded/swfobject.js" type="'text/javascript'"></script>
<div id="mediaspace">qq coisa</div>
<script type="'text/javascript'">// <![CDATA[
var s1 = new SWFObject('http://unit-collective.tv/site/plugins/content/avreloaded/player-viral.swf','ply','470','260','9','#');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('wmode','opaque');
s1.addVariable('skin', 'http://unit-collective.tv/site/plugins/content/avreloaded/modieus.swf');
s1.addVariable('file', 'http://unit-collective.tv/site/images/stories/videos/87602264_104.flv');

s1.write('mediaspace');
// ]]></script>

and doesnt work ...

my videos on my web site disappeared and the embedded flash player says " undefined" Can't fix it, please HELP, thx Yola

youtube vidio's is not playing? plz do some thing

youtube vidios is not playing plz do some thing

sohail - Can you provide a link to where you are running this?

video not playing after aplying skin

muneer - Can you provide a link to where you are running this?

<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery.playlist.js"></script>
<link rel="stylesheet" type="text/css" href="playlist.css" />
<div align="center" style="width: 100%">
<div id="mediaspace" align="center">Video</div>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var so = new SWFObject('player.swf','flashContent','420','340','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('bgcolor','#FFFFFF');
so.addParam('flashvars','file=playxml.xml');
so.addParam('flashvars', 'skin=play.swf');
so.write('mediaspace');
</script>
</div>

There is conflict between jquery and Skin.Video is not displaying.pls Help !!!

sachin - Can you provide a link to where you are running this?

Thanks for ur Prompt reply !!!!

Conflict is still there.And one more thing ,i want to display the thumbnail alongwith the description,title etc.Can u pls tell me where i have write the Tag for the Thumbnail in XML file ? Is there need to give the information in jquery.playlist.js for thumbnail ?

The Link for the video is http://www.acnd.us/ip.asp?op=Our_School ...I might be screwed up in ur Browser but in PC it is working fine...

The function where we need to display the thumbnail is as below :
Here the Tag
<img src='${thumbnail}' class='jw_playlist_image' /></div>....What should be there to display the thumbnail ? Earlier the tag was look like
<img src='${img}' class='jw_playlist_image' /></div>....And it is forcing the original image (display on Player)to 75px width (as per the CSS Class)...But i don't want this.I want to display diff. thumbnails

function dump(arr) {
var output = "<div class='jw_playlist_image_div'><img src='${thumbnail}' class='jw_playlist_image' /></div><div class='jw_playlist_title'>${title}</div><div class='jw_playlist_description'>${description}</div><div class='clear'></div>";
alert(output);
var variables = getVars(output);
for (var j=0; j<variables.length; j++) {
var variable = variables[j];
var varName = variable.replace('${','').replace('}','');
var value = arr[varName];
if (!value) {
value = '';
}
output = output.replace(variable, value);
}
output = output.replace("<div class='jw_playlist_image_div'><img src='' class='jw_playlist_image' /></div>","");
return output;
}

I see the 4.6 player here just fine on - http://www.acnd.us/ip.asp?op=Our_School

No skin at all.

Note, I see the bug now.

You have:

so.addParam('flashvars','file=playxml.xml');
so.addParam('flashvars', 'skin=play.swf');

It needs to be:

so.addParam('flashvars','file=playxml.xml&skin=play.swf');

You only need one flashvars line.

I am having issues with playing video with JWPlayer.

When we rename the FLV file it no long plays. The same file worked in its original FLV name. Renaming the xml and html files JWPlayer uses doesn't seem to be a problem...just changing the name of the FLV. Has anyone come across that?

@Christina - Can you provide a link to where you are running this?

I've downloaded Simple and want to install over Player-viral. simple.swf is in my directory. None of the suggestions for implementing on the JWPlayer site or online are working. I need to know how to install Simple. Here's my code that is working just fine:

<script type='text/javascript' src='http://www.mysite.com/swfobject.js'></script>
<div id='mediaspace'>This text will be replaced</div>
<script type='text/javascript'>var so = new SWFObject('http://www.mysite.com/player-viral.swf','mpl','470','320','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','http://www.mysite.com/0032.flv');
so.addVariable('autostart','true');
so.write('mediaspace');</script><body>

Many thanks for your help!

Make it like this:

<script type='text/javascript' src='http://www.mysite.com/swfobject.js'></script>
<div id='mediaspace'>This text will be replaced</div>
<script type='text/javascript'>var so = new SWFObject('http://www.mysite.com/player-viral.swf','mpl','470','320','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','http://www.mysite.com/0032.flv');
so.addVariable('skin','http://www.mysite.com/simple.swf');
so.addVariable('autostart','true');
so.write('mediaspace');</script><body>

Thank you, Ethan. However, the new code removes the menu option from the player, but still offers a share screen on the last frame. That's what I was hoping to eliminate. I thought Simple eliminated that screen, so maybe Simple isn't the skin I want. I just want the player to revert to the start arrow. Is this possible? I have seen JWPlayers that do this, i.e.: http://www.brandnext.com/new-york/event/. Actually, this is where I discovered your player. I'm not a technical person and really appreciate your help. As soon as I know I can make this work, I will be ordering my licence. Many thanks!

Hi Ian,

To remove the share screen, just go back to our site, re-download the Flash Player, but this time uncheck the "Viral Plugin" checkbox. That will no longer display the share screen.

Best,
-Ethan