Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 24. Nov 2024, 19:06

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 5. Apr 2007, 18:20 
Offline

Joined: 5. Apr 2007, 18:05
Posts: 2
Is there a way to include videos hosted by Revver or Metacafe?


Top
 Profile  
 
 Post subject:
PostPosted: 5. Apr 2007, 18:38 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
metacafe does not work because they have 2 folders which are dynamically twg uses filenames and you would have to code this somehow.

You would have to extend TWG a little bit that you e.g. use
12314_x_my_video.jpg and preview and twg is replacing the _x_ with the / as needed.

maybe I can add this in one of the next builds.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 6. Apr 2007, 11:25 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I checked and it was only a very small change to get it work ;).

get TWG 1.6 RC3 from today.

Use this video.php
<?php
$video_size_x=464;
$video_size_y=380;
$video_player="FLASH";
$video_flash_site ="http://www.metacafe.com/fplayer/";
$video_autostart_parameter=".swf";
$video_autostart=true; // important here because this is the rest of the url! autostart has to be added the .swf?... if possible
$video_show_dl_link=false;
$show_rotation_buttons=false;
?>

use a filename like

504296___belly_dancers_man_vs_woman.jpg

when you want to see
http://www.metacafe.com/watch/504296/be ... _vs_woman/

you have to use 504296/belly_dancers_man_vs_woman and replace the / with an ___


Top
 Profile  
 
 Post subject:
PostPosted: 6. Apr 2007, 20:08 
Offline

Joined: 5. Apr 2007, 18:05
Posts: 2
Cool, thank you for your help


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 60 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy