No Youtube Extended Quality Levels tab in menu

Seek help running and customizing Nuevoplayer Please do not post bug reports, or feature requests here.

Re: No Youtube Extended Quality Levels tab in menu

Postby dargre » Sat Aug 27, 2011 12:34 am

ytquality plugin is for youtube videos only, but even if it is defined, but video is not youtube - such button shoudln't appear. By default quality button and menu are not visible and become visible only when youtube streamer find qualities.
I have tested player with your and other skins where ytquality plugin is assigned, but file and filehd are not youtube.
And it works correctly. ytquality button doesn't appear but HD button is present.

So it looks like you have something messed up with your playlist or something else.
I can't test it or see your files, so I can't say more.
Thank you,
Nuevolab Team
dargre
 
Posts: 332
Joined: Mon Sep 07, 2009 3:47 am

Re: No Youtube Extended Quality Levels tab in menu

Postby dargre » Sat Aug 27, 2011 1:32 am

Well I see the error you make.
In playlist file you assign youtube video to play, but also assign some mp4 as HD video (which doesn't even exists)
This is unacceptable. You can't assign hdvideo if this is youtube. Youtube has quality selection and there's no need to assign an videos more.
Additionally you ALWAYS assign HD video - no matter if such video exists or not.
This is also unnaceptable as this ends with many 404 errors and black screen of course.

For video scripts that has HD video option by default - always HD video file is checked if exists - then is aassigned or not. Additionally in delivered Nuevoplayer playlist file there is a code that reset HD video (even if exists) when this is youtube video.
You probably have some PHP knowledge, but not big experience....
Thank you,
Nuevolab Team
dargre
 
Posts: 332
Joined: Mon Sep 07, 2009 3:47 am

Re: No Youtube Extended Quality Levels tab in menu

Postby nomoreturn » Sat Aug 27, 2011 3:02 am

Well... i don't have any knowledge of php i'm just a learner . i was stuck with this code and i dont know how to do this for hd videos which i have in mp4 format .
Code: Select all
   // Set video full URL
   $file = $config['SITE_URL']."/uploads/".$video_row['video_id'].".flv";

   // If you offer high quality alternative videos (so called 'HD'), assign it same way as above
   // $row['filename_hd'] is the filename of the high quality video file retrieved from your database

so i asked help to MGR a member of nuevopllayer forum he made a mod to convert video's in hd and normal format and when ever some one upload a video not grab or embed its just work with upload videos after installation of this mod. it convert videot in two format normal and hd and i do have hd videos for exmple if you play this video it have both formats
http://www.pakmotion.com/videos/7452/di ... t-ali-khan
Pakmotion.com
nomoreturn
 
Posts: 39
Joined: Thu Apr 21, 2011 12:01 am
Location: Pakistan

Re: No Youtube Extended Quality Levels tab in menu

Postby dargre » Sat Aug 27, 2011 11:53 am

Well, looks like you really have not a lot of experience.
You can have double (normal/HD) videos from some time only,not from beginning, of course you cannot have HD video for youtbe embed code, as this is not even video file, just URL.

Whatever - you cannot assign HD video in playlist if such video file doesn't exist.
Apart of invalid player assign - you have then many 404 errors what is worse.

I appreciate MGR programming skills, but still he's not very experienced, shouldn't offer services until he knows what he does.

FOr youtube videos in file "playlist.php" you should have a line
Code: Select all
$file = 'http://www.youtube.com/watch?v='.$video_row['embed_id'];

below in new line you should skip HD file then by adding a line;
Code: Select all
$filehd='';

But that's only for youtube vids and if playlist file was not changed a lot.

For other videos you should check first if hd file exists..
Where you have a line:
Code: Select all
$filehd = $config['SITE_URL']."/uploads/high/".$video_row['video_id'].".mp4";

you should change it to something like that:
Code: Select all
if(file_exists($config['BASE_URL']."/uploads/high/".$video_row['video_id'].".mp4")) {
  $filehd = $config['SITE_URL']."/uploads/high/".$video_row['video_id'].".mp4";
}
Thank you,
Nuevolab Team
dargre
 
Posts: 332
Joined: Mon Sep 07, 2009 3:47 am

Previous

Return to Troubleshooting & 'How Do I' Questions

Who is online

Users browsing this forum: No registered users and 0 guests

cron