
PLAY VIMEO VIDEO WITH JW PLAYER --- IT'S POSSIBLE?
THERE IS ANYWAY TO PLAY ...THERE IS ANYWAY TO PLAY A VIMEO VIDEO USING JW PLAYER?
SOMEBODY OFFER ME ANOTHER PLAYER.
DOES NOT WHAT WE WANT.
WE LIKE JW PLAYER...
CAN YOU HELPS US.
WWW.VIMEO.COM
THERE IS ANYWAY TO PLAY ...THERE IS ANYWAY TO PLAY A VIMEO VIDEO USING JW PLAYER?
SOMEBODY OFFER ME ANOTHER PLAYER.
DOES NOT WHAT WE WANT.
WE LIKE JW PLAYER...
CAN YOU HELPS US.
WWW.VIMEO.COM
If you can find the flv the vimeo player is loading, you can do it.
using clipnabber I was able to get some sort of link to a vimeo flv
http://bitcast-a.v1.sjc1.bitgravity.com/vimeo/videos/84/81/06/84810686/84810686_104_9dd09875dd.flv?e=12184301803600&h=f5cee7007fddf4bad7767c5b2a528378
when you paste that link to your browser it can be downloaded
Ive tried to play it in jw player but it doesnt seem to work, would it have something to do with the "&" or "?" in the url?
I am also interested in this, anyone have any idea?
I figured out how to do it with Blip. This page uses the JW Player from my server, the still image is from my server and the flv is from Blip.
http://www.rentvine.com/anc/start-video.cfm
I emailed blip if it saw ok to do this a couple of weeks ago and they never emailed back.
don't understand all 'its a first time for me and my english is tough but i learn.quickly and i love lot of sries'dexter for an exemple desperate .h.lost' 24h etc... excuse me for my en glish but i don't use it .by a long time. .
Did anyone solved this Problem?
Vimeo and JW Player???
Thanks philippsen
Can anyone please help, we would like to run vimeo rss into the jw player ? has anyone achieved this ?
Look forward to your responses
Thanks in advance
Shah
$80 PayPal *_IN ADVANCE!_*
80 bucks? ill pay that!
anyone figured this out???
ok so it was easy to play vimeo within the JW player.
only problem is that it will only play low quality version. I can not seem to get it to play HD yet. any ideas.
I found a site that has it. It has HD working and SD will come later on apparently.
Will I share the site? No :(
Sorry guys...but I don't want the script to go dead if I share the site I found.
Check it out (HD version)
http://www.vimeo.com/465712
[IMG]http://i42.tinypic.com/2r21w8z.jpg[/IMG]
Gee Graxeon, thanks for the helpful input to the forum.
Do tell us when you've found something else unique we can't have - can't wait.
Hello everyone,
I got some good news for y'all. I almost got my plugin working which loads a vimeo video in the jw player.
example here: http://wessite.dreamhosters.com/vimeo/
It's also perfectly legit with the terms of Vimeo because the video is loaded through the moogaloop player.
almost everything is working, except the fullscreen functionality is still a bit buggy. If you are interested in this plugin contact me: info [at] wessite [dot] com
Cheers
Guys,
It really isn't very hard to figure out the url to the source video (usually MP4) of vimeo videos - I worked on this last night, as part of a client website video page, here:
http://www.davekiss.com/?page=video
The videos are automatically loaded from his vimeo account, http://vimeo.com/davekiss/
I used the RSS feed feature of vimeo to get the video IDs of his videos (and other info such as title).
I then wrote a small function to convert a vimeo ID into a source video (mp4) URL:
bc.. function vimeoid2url($id) {
$xml = file_get_contents("http://www.vimeo.com/moogaloop/load/clip:{$id}");
preg_match('|ure>(.*?)</req|i',$xml,$sig);
preg_match('|ires>(.*?)</req|i',$xml,$exp);
$url = "http://www.vimeo.com/moogaloop/play/clip:{$id}/{$sig[1]}/{$exp[1]}/?q=sd";
return $url;
}
Then I simply load that URL in the JW FLV player like any other video URL.
(although you do need the "type=video" FlashVar so the player knows it is a video)
If you understand the above code, great, I hope it helps you. If not, and you would like help with getting something similar working for yourself, I can be contacted at
http://www.andrewbeveridge.co.uk
or
jwflvplayer.forums@andrewbeveridge.co.uk
Good luck =)
No problem, I like your code ^^
(apart from the heredoc syntax, I hate to ruin indentation, haha)
You could grab the preview image from the rss stream to put in the spiff playlist, as a preview image in the JW player, with a couple additions;
Uncomment the $ns_media var, then add this line somewhere below;
bc.. $image = str_replace('_200','_640',$ns_media->content->thumbnail->attributes()->url);
then this in the somewhere in the spiff output;
bc.. <image>{$image}</image>
That way you get a nice preview image while the video loads - it's HD, you gotta give them something to look at =)
-Andrew
Thanks for the image code, I hadn't gotten around to that yet. And I still need to cleanup the description more intelligently.
I hear what you're saying about the heredocs, but they save so much code, and are much "cleaner"!
Yeah, the contents of the description element are pretty messy without much consistency among videos.
It looks like the output from a javascript-based WYSIWYG editor is saved directly to vimeo's database.
In most cases (including your script above), heredocs can be replaced by double quotes without any problems.
The only difference I can think of is the need to escape double quotes in the string, which tends to be a rare occurrence for me as I tend towards single quotes.
Even if I do need to escape one or two, it is worth it for the prettyprinting ;-)
Even though my playlist doesn't look as nice as I'd like it to, the description looks OK in the player most of the time. A little more experience so I can see the range of "garbage" and I'll apply a little more cleanup.
Hi folks, THANKS to Andrew and lost for getting me going on a script. I found that the XML it spits out, I can't get to work with JW Player, so I tweaked it's output a bit, and this php file will make an XML file that JW can read (and have vimeo return the .MP4 or .FLV, instead of the moogaloop.swf alone):
bc.. <?php
$url = 'http://vimeo.com/[USERNAME]/videos/rss';
$playlist = $XML = simplexml_load_file($url);
$max_tracks = 10;
$count = 0;
$max_description = 120;
header("Content-Type: text/xml;charset=utf-8");
if(is_object($playlist))
{
print <<<END
<?xml version='1.0' encoding='UTF-8'?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:jwplayer='http://developer.longtailvideo.com/trac/wiki/FlashFormats'>
<title>{$playlist->channel->title}</title>
<link>{$playlist->channel->link}</link>
<channel>
END;
foreach($playlist->channel->item as $item)
{
$ns_dc = $item->children('http://purl.org/dc/elements/1.1/');
$ns_media = $item->children('http://search.yahoo.com/mrss/');
$image = $ns_media->content->thumbnail->attributes()->url;
// $image = str_replace('_200','_640',$ns_media->content->thumbnail->attributes()->url);
$creator = str_replace('&', '&', $ns_dc->creator);
$title = str_replace('&', '&', $item->title);
$title = str_replace("&","&",$item->title);
$location = vimeourl2videourl($item->enclosure['url']);
$annotation = substr($item->description, (strpos($item->description, '</a></p><p>') + 11));
$annotation = strip_tags($annotation, '');
$annotation = substr($annotation, 0, $max_description);
print <<<END
<item>
<title>{$title}</title>
<link>{$item->link}</link>
<media:content url="{$location}" />
<media:thumbnail url="{$image}" />
<jwplayer:type>video</jwplayer:type>
<description>{$annotation}</description>
<info>{$item->link}</info>
<image>{$image}</image>
</item>
END;
$count++;
if($count > $max_tracks) break;
}
print <<<END
</channel>
</rss>
END;
}
function vimeourl2videourl($url)
{
$url = explode('=', $url);
$id = $url[1];
$xml = file_get_contents("http://www.vimeo.com/moogaloop/load/clip:{$id}");
preg_match('|ure>(.*?)</req|i',$xml,$sig);
preg_match('|ires>(.*?)</req|i',$xml,$exp);
$url = "http://www.vimeo.com/moogaloop/play/clip:{$id}/{$sig[1]}/{$exp[1]}/?q=sd";
return $url;
}
?>
I can feed JW player the .php URL directly, and it populates my player. Hope this helps.
Bob
Can't seem to get the vimeourl2videourl function to work with my newer videos. Have they changed the API?
NO API changes.
Still works fine here:
*http://willswonders.myip.org:8074/Simple_Vimeo.html*
It would appear though that it doesn't work all the time (you may not have tested it much) due to a security error. More details here...
http://www.vimeo.com/forums/topic:3663
I've found it quiet flaky. Even if the vimeo site is accessible and the codes to request the file works. sometimes the videos just don't work.
Lost, it was realy works sample, but some time ago I have a problem to play Vimeo videos with my JW player. Your sample don't work too. Can anybody help with this problem?
Quite the contrary, my Test Page *ALWAYS* works!
You have to wait a few seconds for the Vimeo playlist to be created and loaded, but it has *_NEVER_* failed to load in many, many tests
*_ANDNONE of the videos have EVER failed to load._*
LOST, you are right! Now all works. Probably it were time problems.
I have placed a player on my site, but I have a problem with Vimeo.
I have downloaded from your test page script - "swfobject.js" v.2.2 and your playlist - "playlist_converter_Vimeo.php". After I connect both files to my site, player and playlist from your test page are displayed on my site, but when I add link to my video - player gives out an error.
In your playlist (playlist_converter_Vimeo.php) I see links like:
http://www.vimeo.com/moogaloop/play/clip:2111305/0619c7773316c7e896962624f77eb783/1254180600/? q=sd
My links from Vimeo look as:
http://www.vimeo.com/6800420
If I receive the link with Keepvid they look as:
http://www.vimeo.com/moogaloop/play/clip:6800420///video.flv? q =
In both cases my video is not reproduced on my site and I even cant download it from Vimeo.
Please, explain to me how can I receive links same as at your playlist? Is It enough that all worked?
@Pavel,
*playlist_converter_Vimeo.php* is a PHP script that reads a Vimeo *feed* and *_converts_* it to a format that can be used by the JW FLV Player. It is posted above on Jul 27, 2009. You are only looking at its output.
For a single Vimeo URI, you should use the *Vimeo.php* script posted below, like this:bc.. 'file':encodeURIComponent('Vimeo.php?id=5501710'),
'type':'video',
'title':'ViceVersa',
*Vimeo.php*bc.. <?php
// http://www.vimeo.com/5501710
// call with: http://www.domain.com/path/Vimeo.php?id=5501710
$id = isset($_GET['id']) ? strval($_GET['id']) : '5501710';
$videoxml = file_get_contents("http://www.vimeo.com/moogaloop/load/clip:{$id}");
preg_match('|<request_signature>(.*)</request_signature>|i', $videoxml, $sig);
preg_match('|<request_signature_expires>(.*)</request_signature_expires>|i', $videoxml, $sigexp);
$uri = "http://www.vimeo.com/moogaloop/play/clip:{$id}/{$sig[1]}/{$sigexp[1]}/?q=sd";
// print "URI: $uri"; exit;
header("Location: $uri");
exit;
?>
@Lost, I have understood. But I need help not for single Vimeo URL. I need to create playlist with my videos from Vimeo.
I have inserted PHP script posted Jul 27, 2009 into my file "playlist_converter_Vimeo.php" but after that I have the message from JW player on my site - "THIS PLAYLIST IS NOT A VALID XML FILE"
Please tell me what lines I need to change in PHP script posted Jul 27, 2009 and what code I need to use on my html page.
Here part of my html code (same as your sample):
bc.. <script src="./video/player/swfobject.js"></script>
<script type="text/javascript">
var flashvars =
{
//...these don't work for snapshots - probably because of the 302 or because there is no cross-domain policy file
on Vimeo
//'file': 'playlist_Vimeo.xml',
//...defaults to vimeo HD Rss feed
'file': './video/player/playlist_converter_Vimeo.php',
'playlist': 'bottom',
'playlistsize': '240',
'repeat': 'always',
'stretching': 'none',
'displaytitle': 'true',
//...this works for snapshots
//'file': '/video/5501710.mp4',
//'plugins': 'http://willswonders.myip.org:8074/snapshot-10',
//'snapshot.script': 'http://willswonders.myip.org:8074/snapshot.php',
//'snapshot.data': 'true', // false doesn't work
//...using any skin results in a blank snapshot
//'skin': 'bright',
//'skin': 'simple',
'frontcolor': '86C29D', // text & icons (green)
'backcolor': '003367', // playlist background (blue)
'lightcolor': 'C286BA', // selected text/track highlight (red)
'screencolor': 'FFFFFF', // screen background (black)
'id': 'playerID',
'autostart': 'true'
};
var params =
{
'allowfullscreen': 'true',
'allowscriptaccess': 'always',
'bgcolor': '#FFFFFF'
};
var attributes =
{
'id': 'playerID',
'name': 'playerID'
};
swfobject.embedSWF('./video/player/player.swf', 'player', '640', '628', '9.0.124', false, flashvars, params,
attributes);
</script>
<script type="text/javascript">
var player = null;
function playerReady(obj)
{
player = gid(obj.id);
};
function gid(name)
{
return document.getElementById(name);
};
</script>
My playlist_converter_Vimeo.php: same as post from Jul 27, 2009
Where my error?
P.S. Link to my videos at Vimeo :
http://www.vimeo.com/user2356625/videos/rss
@lost/andrew/bob
I have used the converter PHP and it works well in conjucntion with my allvideo Joomla plugin but it is very slow to generate the valid xml on first load
Any ideas how to imporve the performance?
Thanks
@lost
your code is converting my titles, but it doesn't load the videos.
http://www.crichton.tv/artfilm.tv/player.htm
Any idea?
Have you implemented Andrew's Preview Grabbing?
Guys, I'd love to help out with this, but the client I worked on this for recently told me that his Vimeo account got suspended because my code was streaming the videos through JW player on his site.
So, based on this, I recommend anyone interested in getting this working forgets about it - it isn't worth losing your Vimeo account.
Andrew, you’re right.
Sites such as Vimeo, Dailymotion, etc, don’t allow you to steal bandwidth from them, which is perfectly understandable.
I have upgraded the Vimeo Plugin to work with the newest Moogaloop API of Vimeo.
You can view it at this page: http://wessite.com/labs/vimeoplugin
If you use the Vimeo plugin setup can you use Yume ads?
This is probably against Vimeo’s Terms of Service…
Thanksforthefunction,Andrew.
I'veuseditinthissimplePHPplaylistconverterscript,toconverttheVimeoHDfeedtoanXSPF-formatplaylistthatiscompatiblewiththeJWFLVPlayer.
bc.. <?php
$url='http://vimeo.com/channels/hd/videos/rss';
$playlist=$XML=simplexml_load_file($url);
$max_tracks=10;
$count=0;
$max_description=120;
header("Content-Type:text/xml;charset=utf-8");
if(is_object($playlist))
{
print<<<END
<?xmlversion='1.0'encoding='UTF-8'?>
<playlistversion='1'xmlns='http://xspf.org/ns/0/'xmlns:jwplayer='http://developer.longtailvideo.com/trac/wiki/FlashFormats'>
<date>{$playlist->channel->pubDate}</date>
<title>{$playlist->channel->title}</title>
<info>http://www.domain.com/</info>
<location>{$playlist->channel->link}</location>
<trackList>
END;
foreach($playlist->channel->itemas$item)
{
$ns_dc=$item->children('http://purl.org/dc/elements/1.1/');
//$ns_media=$item->children('http://search.yahoo.com/mrss/');
$creator=str_replace('&','&',$ns_dc->creator);
$title=str_replace('&','&',$item->title);
$location=vimeourl2videourl($item->enclosure['url']);
$annotation=substr($item->description,(strpos($item->description,'</a></p><p>')+11));
$annotation=strip_tags($annotation,'');
$annotation=substr($annotation,0,$max_description);
print<<<END
<track>
<title>{$creator}-{$title}</title>
<location>{$location}</location>
<jwplayer:type>video</jwplayer:type>
<annotation>{$annotation}</annotation>
<info>{$item->link}</info>
</track>
END;
$count++;
if($count>$max_tracks)break;
}
print<<<END
</trackList>
</playlist>
END;
}
functionvimeourl2videourl($url)
{
$url=explode('=',$url);
$id=$url[1];
$xml=file_get_contents("http://www.vimeo.com/moogaloop/load/clip:{$id}");
preg_match('|ure>(.*?)</req|i',$xml,$sig);
preg_match('|ires>(.*?)</req|i',$xml,$exp);
$url="http://www.vimeo.com/moogaloop/play/clip:{$id}/{$sig[1]}/{$exp[1]}/?q=sd";
return$url;
}
?>
Thedescription/annotationcleanupcouldusealittlemorework.
Ifyouwanttogetanyofthe*media*namespacedata,usethecommentedoutcodejustlikeI'musingthe*dc*namespacedata.
Hi all,
I used the wessite plugin to load vimeo videos, and I use player4.swf that's the only one that works
All ok, but I can't set up the video screen (fill, uniform, etc..) it's always 'uniform'
an example here:
<div class="style9">
<script type='text/javascript'>
var so = new SWFObject('http://www.legnanowebtv.com/player/player4.swf','ply','512','500','9','#ffffff');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('allownetworking','all');
so.addVariable('stretching','fill');
so.addParam('wmode','opaque');
so.addVariable('plugins', 'viral-2');
so.addVariable('viral.callout', 'none');
so.addVariable('viral.onpause', 'false');
so.addVariable('playlistsize','400');
so.addParam('flashvars','file=http://www.legnanowebtv.com/xml/futsala.xml&plugins=http://www.legnanowebtv.com/player/vimeo.swf&playlist=bottom');
so.write('mediaspace');
</script>
You are using flashvars, which override addvariables, that is the issue.
I made a new plugin called "Vimeo Component" that embeds Vimeo videos in the JW player v5 and keeps the players synchronized in both ways. More information can be found here: http://wessite.com/labs/vimeocomponent
where can i get moogaloop player? Is it the same as JW player?
and how do I add in the link possibility you see at the end of this video, to link to an other site/selling page?
http://drurybynum.com/filmproducts.htm
1) Please read wessite’s comment
2) It is not possible to add a link at the end of a video.
Here you can find a working example of a Vimeo provider inside JW Player
http://luwes.co/labs/vimeo-provider/
Thanks, yes this is how to do it.
I am using wordtube a wordpress plugin to embed videos from various sites to my site (http://www.nepalee.com) an entertainment and news portal, but i could not embed vimeo video as it is not producing direct media link and asking for session id and cookies i think. is there anyone who have fixed the problem? there may be some downloading scripts which may generate or spy into the direct media link of vimeo videos? please share.
We don’t support Vimeo.
How do you get vimeo provider to work, I have bought it, installed it, but playlist does not work. Only single video showing.
This isn’t our provider, we aren’t providing support for it.
When you sign up for a vimeo pro account, vimeo gives you access to the SD, HD, mobile and streaming files. Which you can easily embedd
Wonderful.