Playlist Player genarate

Report Nuevoplayer bugs here. Please make sure they haven't been reported or fixed already.

Playlist Player genarate

Postby Kinostok » Fri Feb 04, 2011 11:58 am

in the generation of not correctly specified path of files:

Code: Select all
<object width="435" height="314" data="http://site.com/media/nuevo/player/player.swf" type="application/x-shockwave-flash">
<param name="movie" value="http://site.com/media/nuevo/player/player.swf?skin=skins/space">
<param name="flashvars" value="config=http://site.com/media/nuevo/cpl.php?type=recent&amp;skin=skins/space">
<param name="allowscriptaccess" value="always">
<param value="transparent" name="wmode">
<param name="bgcolor" value="#000000">
</object>


corrected in the code path
Code: Select all
<object width="435" height="314" data="http://site.com/nvlab/player/player.swf" type="application/x-shockwave-flash">
<param name="movie" value="http://site.com/nvlab/player/player.swf?skin=skins/space">
<param name="flashvars" value="config=http://site.com/nvlab/cpl.php?type=recent&skin=skins/space">
<param name="allowscriptaccess" value="always">
<param value="transparent" name="wmode">
<param name="bgcolor" value="#000000">


But the playlist is not visible
User avatar
Kinostok
 
Posts: 16
Joined: Fri May 21, 2010 10:26 pm
Location: Germany

Re: Playlist Player genarate

Postby dargre » Fri Feb 04, 2011 5:28 pm

You are quoting code genereted for AVS script, but wish to play it from Clipshare script?
The of course it won't work.

If you replace
Code: Select all
&amp;

into single
Code: Select all
&


then it may not work.
Thank you,
Nuevolab Team
dargre
 
Posts: 331
Joined: Mon Sep 07, 2009 3:47 am

Re: Playlist Player genarate

Postby Kinostok » Fri Feb 04, 2011 7:21 pm

This is for ClipShare 4.1

Code: Select all
<object width="435" height="314" data="http://kinostok.tv/nvlab/player/player.swf" type="application/x-shockwave-flash">
<param name="movie" value="http://kinostok.tv/nvlab/player/player.swf?skin=skins/space">
<param name="flashvars" value="config=http://kinostok.tv/nvlab/cpl.php?type=recent&amp;skin=skins/space">
<param name="allowscriptaccess" value="always">
<param value="transparent" name="wmode">
<param name="bgcolor" value="#000000">
</object>


here you can see an example http://kinostok.tv/about
User avatar
Kinostok
 
Posts: 16
Joined: Fri May 21, 2010 10:26 pm
Location: Germany

Re: Playlist Player genarate

Postby dargre » Sat Feb 05, 2011 2:27 am

You have an error in file "cpl.php",
http://kinostok.tv/nvlab/cpl.php?type=recent
Surely there is no such error in packages available to download.

Possible erro can look like this:
Code: Select all
print "<showplaylist>1</showplaylist\n";

Should be
Code: Select all
print "<showplaylist>1</showplaylist>\n";


BTW. Your demo player is definitely too small, too narrow to show playlist box.
Thank you,
Nuevolab Team
dargre
 
Posts: 331
Joined: Mon Sep 07, 2009 3:47 am

Re: Playlist Player genarate

Postby Kinostok » Sat Feb 05, 2011 10:56 am

I corrected the error
Code: Select all
print "<showplaylist>1</showplaylist\n";


Now we have an error in
http://kinostok.tv/nvlab/cpl.php
http://kinostok.tv/nvlab/list.php
User avatar
Kinostok
 
Posts: 16
Joined: Fri May 21, 2010 10:26 pm
Location: Germany

Re: Playlist Player genarate

Postby dargre » Sat Feb 05, 2011 1:09 pm

Man, let's be serious.
configuration file is always called with playlist type parameter, not standalone.
Look at code before you posted, it is:
http://kinostok.tv/nvlab/cpl.php?type=recent
Thank you,
Nuevolab Team
dargre
 
Posts: 331
Joined: Mon Sep 07, 2009 3:47 am

Re: Playlist Player genarate

Postby Kinostok » Sat Feb 05, 2011 4:20 pm

dargre wrote:Man, let's be serious.
configuration file is always called with playlist type parameter, not standalone.
Look at code before you posted, it is:
http://kinostok.tv/nvlab/cpl.php?type=recent


Sorry that is taking away your time, sometimes over trivial matters.

I have one more question. Why does my player does not show the splash screen of the first video, but only a black screen
User avatar
Kinostok
 
Posts: 16
Joined: Fri May 21, 2010 10:26 pm
Location: Germany

Re: Playlist Player genarate

Postby dargre » Sat Feb 05, 2011 6:25 pm

Eh, what would you do if that was a player like JWPlayer or Flow, where you do not have any ready automatic config or playlist files generators....

Nuevoplayer shows preview image in pause mode when flashvar image is defined (in configuration file or as flash object flashvar).
In case of generated playlist we deliver it would be highly not suggested to read info from db for playlists 2 times, so it is read only once in playlist file. However then there is no "image" flashvar defined.
Still there is a way...
If image flashvar not defined - it can be delivered with each playlist item.
There is already picture defined as "thumb" value for playlist item.
You can add one more: "image" with same value that thumb is.

Look at file "list.php" in nuevoplayer directory.
There is a line:
Code: Select all
print "<thumb>".$thumb."</thumb>\n";

Yu can add one more line below:
Code: Select all
print "<image>".$thumb."</image>\n";

This should make a trick with prevew image.

However this is only thumb picture - it's not big size, may not look great.
But I cannot know if someone has other, bigger pic. It's not extracted in the script by default (missing in my opinion)
So if you have such - you must know what it is and set properly full URL for it.
Thank you,
Nuevolab Team
dargre
 
Posts: 331
Joined: Mon Sep 07, 2009 3:47 am


Return to Bug Tracking

Who is online

Users browsing this forum: No registered users and 0 guests

cron