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

Forums

/

insert JW FLV Player in PHPMELODY

59 replies [Last post]

HI

I'am using phpmelody (script) and i want replace youtube player with JW FLV Player .

Like this http://video.latest-hits.eu/

thank you

YES, help me

hello
100 Euros i'll help you of corse
here is an exemple ;) http://www.videos.maroc3m.com/

Hi...
Dont spend money... PHP Melody 1.5 is include this feature.....

Joshua,
No sir there is no things let you add lv or wmv in phpmelody just youtube's videos ;) i you're right show them how to do that
i edited it to add wmv and flv files

Yes, please tell me to insert this player?

i have the tempalte email me and i can send it to you
mendimdj@hotmail.com

Don`t working... my videos page is musicvideo.php i don`t use a "Rewrite" mod!

have u got that them if so please uploead this again

How to insert JW player in PHP Melody

open "include/functions.php"

Around line 242, you will see the function make_youtube_player

Delete the entire function and in its place put this

function make_youtube_player($y_id, $length, $width = '496', $height = '401', $auto_play = '1') {

$video = $y_id;
$urls = "http://www.youtube.com/v/$video.swf";

$get_header = @getheaders($urls, 0);
$wanteds = $get_header[4];
$newstr = explode('.swf?',$wanteds);

$var = explode("&",$newstr[1]);
$key = 4;
foreach($var as $k => $v)
{
if( substr($v, 0, 2) == "t=" )
$key = $k;
}
$file = simplexml_load_file("http://youtube.com/api2_rest?method=youtube.videos.get_video_token&video_id=$y_id");
$file = "http://youtube.com/get_video?video_id=$y_id%26t=$file->t";
$player = "<script type='text/javascript' src='http://www.jeroenwijering.com/embed/swfobject.js'></script>
<div id='player'>This text will be replaced</div>
<script type='text/javascript'>
var so = new SWFObject('http://www.jeroenwijering.com/embed/player.swf','mpl','500','400','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&file=".$file."&type=video&volume=75&autostart=true&caption=false&fullscreen=true&stretching=exactfit');
so.write('player');
</script>";
return $player;
}

Save and upload .. u are done :)

Very very thanks.
Works excelent¡¡.

it doesn't work for me...!
can you put me this file to download that i will need just to download from here and upload to my web???

hello
me phpmelody 1.5. I can just for video youtube utilise youtube player and dont original player? thankx

This doesn't work on 1.5.1 . Does anybody have a code to use jw player instead of the default?? i will pay the person who knows

i want to insert flv player in php

i want to insert flv player in php

anyone help me

give me script if you can

Hello, is here a person that will help us, maybe from Longtailvideo. We would like only use the ads on our player.
Current Version: 1.5.2

Thanks for help. E-Mail is cyvido@gmail.com

fgfdg

i want to insert flv player in php

anyone help me

give me script if you can

i want to insert flv player in php

anyone help me

give me script if you can

my email is nandha44@yahoo.com

PHP Melody 1.5.3 version, dont work with JW.

Anyone help me ?

can anyone say me how to play a flv file in asp.net and aid me a sample codes do to that Awaiting for ur reply experts...

thanks man, that works for me.....

PHP Melody 1.6 version, dont work with JW.

why does my player (on 1.5.3) doesn't shows?
http://brutality.byethost4.com/ .. :(

@Miner: there is a atemplate where u have to change the player.ps with player.swf...check them all and search for the term player.ps ..there will be just 3 places to change...

Hi, i was developing a script that has the basic PHP melody 1.6.X and i had the same issue but i had fixed it after searching the script so the Problem has been solved very easy.
Step 1. go to longtail.com and download the jwplayer
Step 2. get the files( media_viral.swf and the javascript file) and paste it in the main root .
Step 3. rename media_viral.swf to jwplayer.swf
You are done it works and it has been tested:)
If you have problems getting done please email me at mystycall2005 at gmail.com
Thanks!

no it doesnt work
there is an error, it says that the video has not been found

me 2: video has not been found

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

I do not know if alone happens to me, but I've seen the viral plugin is giving me problems.

These are some problems I have seen with viral plugin.
1. Sometimes the videos do not end completely (youtube) and skips the menu automatically.
2. Also I noticed when I used the link in the menu, do not see the options for closure, so disconcerting to the user.
http://www.subirimagenes.com/privadas-ayer-947356.html
I have a program installed PHPMelody.

ciberlinker, that is just an image. Can you please link me to where you are running this?

http://maxiocio.net/flyleaf/missing-video_718b79050.html

I removed in viral plugin, so now can not be verified, but everything I said is true. Does not always happen, but this problem if you see many videos, it's the most important.
He had placed advertisements through my channel Longtail, and I have removed, because before loading the video, will darken the background of the player (I use a skin) and when charging the video is not loading button (on videos .flv/mp4-loading) and if the videos are of high load seems not working.
http://www.longtailvideo.com/addons/skins/25/Stijl?q

Your code is scraping the page and stealing a Vimeo Video, which we do not support.

Can you add Viral back to I can replicate the bug?

The LongTail AdSolution darkens the player while the plugin is loading the ads.

The videos "Vimeo" trilulilu "sevenload" and other sources are working, the problem is in the videos on Youtube, which are cut to skip the menu "viral" before the end of the video (and not always the case). Well as the menus options (close, embed, etc..), that do not appear sometimes.

I've added the player viral.
You know, because I see no "loading" when starts loading the video, using AdSolution advertising. This happens with all videos that are not Youtube, of course, that the Youtube videos using his image loading of their videos. No advertising AdSolution, the "loading" is normal, in all my videos.

Can you provide the link to the YouTube video with the bug, as well as the AdSolution?

Also, are you using the YouTube API are doing a page scrape like you are doing for Vimeo?

As you tell, the problem arises in the videos and for a person (such as me) to see many videos can detect such problems. The videos can work well, but sometimes it happens that you comment.
I will not continue with this problem, I leave here, I see that according to you, the problem is in the APIs, vimeo, etc. Well the player works very well and it is impossible to have problems.
I will unplug the viral menu
Thanks for your time.

Np. And we do not go through any other APIs, only YouTube.

youtube videos still not play in php melody 1.6.3

take a look at there demo site

http://www.phpsugar.com/outgoinglink.php?demo=1

Yes, Youtube now works in PHP Melody 1.6.3.

We've updated the code the other day.

Customers should download the latest release for 1.6.3.

andrew rae i dont want to upgrade to 1.6.3 cause i dont want that upload feature for my viewers (am using custom template too ) can you provide that youtube fix alone .. so we can do that in older version of php melody ..

i had upgraded to 1.6.3 but still in my site youtube videos not play i JW player .. ya i saw t hat in demo site it work fine but my site still showing error "video not found or access denied"

demo site also have same error ..

It need to change something, I have done. now it run pefectly
demo: http://9sky-clip.co.cc

NTT can you tell what changes have u did .. pls my site still have error ..

@steve - where are you running this?

@Andrew Rae - please contact me at ethan [at] longtailvideo [dot] com, thank you.

i had changed mostly all thing .. but still am get same error .. pls some one post the changes to do ..

@steve - do you have a link to where you are trying to run this on your website?

@steve: use IDM download http://www.phpsugar.com/pm_demo/templates/default/player.tpl and past it into your default style.

Tnx NTT :-)

thanks NTT .. let me try that .. i will post the result...

to NTT: brilliant man, thank you for this! :)
Jeanmitchel

thanks, youtube video is now working, but can't import video from youtube.
Error Message is "XML error: no element found at line 1"
pls help.......

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

Hi,

I am using phpmelody 1.6.4. Can anybody tell me how to insert JW Player in my website?

Thanks in advance

@Ramya - What is your site?

Somebody know how to activate jw player ?
and what are the file that we need ?

@John - What module are you using?