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

JW html 5 player With Clip Bucket (video sharing script)


i know that i have word press add on for both of them, if install clip bucket and JW player would it mean that now easily with wordpress admin menu can change the player and change to JW player?

11 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Can you clarify what you mean?

JW Player

User  
0 rated :

i want both work in same site

but clip bucket had its own player, and i don't like it.

i want to change to your player html 5

can you show how to change the script so i integrate your player in to clip bucket?

Ethan Feldman

JW Player Support Agent  
0 rated :

I have never used Clip Bucket before, sorry.

JW Player

User  
0 rated :

Here is the code that adds the player to clipbucket. What has to be changed to add the html 5 to the player?
I have uploaded the required files (player.swf, jwplayer.js and swfobject.js)

bc.. <?php

if(!function_exists(jwplayer5))
{
function jwplayer5($data)
{
$vdata = $data['vdetails'];
global $swfobj;
$vid_file = get_video_file($vdata,$no_video,false);
if($vid_file)
{
$hd = $data['hq'];
$swfobj->width = $data['width'];
$swfobj->height = $data['height'];
$swfobj->playerFile = PLAYER_URL.'/jwplayer5/player.swf';
$swfobj->DivId = $data['player_div'] ? $data['player_div'] : config('player_div_id');
$swfobj->FlashObj();
//Writing Param
$swfobj->addParam('allowfullscreen','true');
$swfobj->addParam('allowscriptaccess','always');
$swfobj->addParam('wmode','opaque');
$swfobj->addVar('image',getthumb($vdata,'big'));
$swfobj->addVar('logo', '/logo_test.png');
$swfobj->addVar('autostart','false');
if($hd=='yes') $file = get_hq_video_file($vdata); else $file = get_video_file($vdata,true,true);
$swfobj->addVar('file',$file);
$swfobj->CreatePlayer();
return $swfobj->code;
}else
return false;
}
add_js(array('swfobject.obj.js'=>'global'));
register_actions_play_video('jwplayer5');
}
?>

JW Player

User  
0 rated :

Yes, if you just want the player without the HTML 5 just copy the above and paste it into a new file called "jwplayer" put this and the above mentioned files into a folder called jwplayer5.
Upload them to the clipbucket player directory then add through the player manager.

What I need to know is what has to be changed so it will play the videos on my I-Pad.

JW Player

User  
0 rated :

OOPS that should read filed caled jwplayer.php

Ethan Feldman

JW Player Support Agent  
0 rated :

@MikeB – You need to use the JW Embedder (jwplayer.js), for HTML5 support.

http://www.longtailvideo.com/support/blog/15827/using-the-jw-embedder-to-embed-your-player

JW Player

User  
0 rated :

@Ethan,
I am not good at code at all. Would you be a little more specific on where I need to call the jwplayer.js

Thanks in advance for your help

Ethan Feldman

JW Player Support Agent  
0 rated :

The tutorial above has code that you can copy/paste………………………………………………………………………………….

JW Player

User  
0 rated :

But where?
I am running a private family video sharing web. I use clipbucket but am not happy with the pak_player they use.
I would prefer to use the jwplayer along with the HTML5 for myself and other family members who have ipads etc.
You will pardon me but it's really starting to be NOT worth the effort. As I said I am not good at code.
All I want is to use the jwplayer with HTML5. I suppose using the free version on a private family web we don't count for support.

Ethan Feldman

JW Player Support Agent  
0 rated :

I would recommend just pasting the code on a blank html page, for starers. Don’t use a CMS like clipbucket.

This question has received the maximum number of answers.