446089 Play .flv in slimbox 2 - lightweight Lightbox clone
N/A
Đang triển khai
Đã đăng vào hơn 13 năm trước
N/A
Thanh toán khi bàn giao
Hello,
I would like to add the ability to play movies (.divx, .flv) in Minigal nano image gallery.
Budget: $20
The script is available for a free download here:
[login to view URL]
To view an image I use: 'rel=lightbox[pics]'
I play a movie I need this done: 'rel=lightbox[movie]' (play in the expanded window)
I uploaded thumbnails pictures for the movies.
([login to view URL] is the thumbnail, [login to view URL] , [login to view URL], [login to view URL])
Since the gallery was coded to deal only with images I edited the code to replaced ".jpg" with ".divx"
original code:
"html" => "<li><a href='" . $currentdir . "/" . $file . "' rel='lightbox[pics]'><span></span><img src='" . GALLERY_ROOT . "[login to view URL]" . $thumbdir . "/" . $file . "&size=$thumb_size' alt='$label_loading' /></a></li>
edited code:
"<li><a href='" . $currentdir . "/" . substr($file,0,-3) .'divx' . "' rel='lightbox[movie]'><span></span><img src='" . GALLERY_ROOT . "[login to view URL]" . $thumbdir . "/" . $file . "&size=$thumb_size' alt='$label_loading' /></a></li>
1) modify [login to view URL] to play .divx, .flv movies.
2) Prompt the user to download and install the plugin if needed (divx web player, flv player).
3) Ability to setup movie's size.
Payment will be done after seeing the script function on your server.
Thanks!