JoomEXT:AllVideos Plugin
From Kb_JMY(晉明夷)
Contents |
AllVideos Plugin
- Supported media formats:
* .flv (the recommended format for video streaming) * .swf * .mov (second best recommended format for video streaming) * .mp4 (supports both video and audio as a format) * .wmv (.asf or .asx are not included since they are considered "dead" formats) * .avi (utilizing any codec, this includes DivX) * .mpg and .mpeg * .rm and .ram (Real Media - supports both video and audio as a format) * .mp3 (both housed on your server or on a remote server * .wma
- Your own "click to play" text or even image logo for Flash Video streaming from your server.
- with CSS class
- "master" local video folder: images/stories/videos/
- "master" local audio folder: images/stories/audio/
- Generic Coding formats: video /audio files in local server
- {video_file_type}video_file_name{/video_file_type}
- {video_file_type}subfolder/video_file_name{/video_file_type}
Example Coding: for local server
- suppose "trip_to_paris.flv" is stored in images/stories/videos/trip_to_paris.flv
- and "mariasparty.wmv" is stored in images/stories/videos/fun/mariasparty.wmv
- {flv}trip_to_paris{/flv}
- {wmv}fun/mariasparty{/wmv}
- {mov}my_trip_to_hawaii{/mov}
- {mp3}bobsinclar-worldholdon{/mp3}
- {wma}marilyn_manson_idontlikethedrugs(butthedrugslikeme){/wma}
Example Coding: for remote server
{mp3remote}http://www.remoteserver.com/somedirectory/file.mp3{/mp3remote}
-
- Try some real mp3 files in real remote site servers
{mp3remote}http://podcast.timesonline.co.uk/serve.php/417/sounds-podcast-jarvis.mp3{/mp3remote}
{mp3remote}http://www.soulsearching.ie/choir_web/multimedia/one_love.mp3{/mp3remote}
{mp3remote}http://www.iol.ie/~johnos/audio/one_love.mp3{/mp3remote}
Example Coding: supported video providers
- {youtube}video_id{/youtube}
- {google}video_id{/google}
- {yahoo}video_id{/yahoo}
- {youtube}cdXTDovB9K{/youtube} if the video link is like this
- {google}-3406925506469882756{/google} if like this
- {yahoo}1155220&cache=1{/yahoo} if like this
Support: 39 video providers, OWN video and audio from local server!
1. Google Video International 2. Google Video Australia 3. Google Video Deutchland (Germany) 4. Google Video Espana (Spain) 5. Google Video France 6. Google Video Italia (Italy) 7. Google Video Nederland (The Netherlands/Holland) 8. Google Video Polska (Poland) 9. Google Video U.K. (United Kingdom/Great Britain) 10. Yahoo! Video 11. YouTube 12. iFilm 13. Vimeo 14. Metacafe 15. Bolt (for Audio & Video) 16. Bofunk 17. Break 18. Jumpcut 19. Current TV 20. Revver 21. College Humor 22. MyVideo.de 23. Sevenload.de 24. ClipFish.de 25. Stickam 26. Krazyshow 27. GameTrailers.com 28. MySpace Video Code 29. FreeVideoBlog 30. Streetfire Videos 31. Crossroad Videos 32. Dropshots
- For chinese speaking users
Contributors:
- -- Jeroen Wijering: Flash Video Player and Flash MP3 Player (both licensed under a Creative Commons License), http://www.jeroenwijering.com
- -- Gero Zahn: ingenious bot_gzNoClickToActivate Joomla! plugin (released under the GNU/GPL license)
User Manual
- Pls. see it in your installed AllVideos plugin
Add videos &Tabs to VirtueMart products
- The procedure:
- Here's the solution to enable the plugin for the "product details" page:
- Open up the file <Joomla Directory>administrator/components/com_virtuemart/html/shop.product_details.php and in the end of it, look for:
/* Finish and Print out the Page */ echo $template;
- Add codes so that the overall the change is:
// start modification for "content type" plugin parsing global $_MAMBOTS; $_MAMBOTS->loadBotGroup( 'content' ); $row->text = $template; $results = $_MAMBOTS->trigger( 'onPrepareContent', array( &$row, &$params, $page ), true ); $template = $row->text; // end modification for "content type" plugin parsing /* Finish and Print out the Page */ echo $template;
- This will load the "content type" plugins in VirtueMart. That means that you can use the AllVideos Plugin to add videos in your products (as showcase) and even use the "Tabs & Slides in Content Items" Plugin to display your product's details in Tabs and/or Slides!!
Bugs & Errors (AllVideos Plugin)
Remote access by {mp3remote} doesn't work, pls. help!
Related Problem: "Forbidden Error"
- Ref: SiteGnd Support ticket ID:172500 -- 2007-03-13 10:30am
- Problems:
I tried to access the following directly in a web browser: http://www.myanmarartclub.com/_Files/g2data/albums/Multimedia/Audio/Welcome.mp3 but... not successful due to the below "Forbidden Error": =========================== Forbidden You don't have permission to access /_Files/g2data/albums/Multimedia/Audio/Welcome.mp3 on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. ============================ when moving the mp3 file outside the "g2data" folder, e.g. public_html/_Files --> it's accessible and the mp3 auto-played by quicktimes in the browser Actually the "g2data" is created by the Gallery2 photoalbum system during its installation. I have checked that the whole directory path, i.e. public_html/_Files/g2data/albums/Multimedia/Audio/ has been set with permission "755" and Welcome.mp3 with "644" so pls. check what's wrong with the "g2data" folder? i.e. what settings make the mp3 file not accessible? and how can I make all the files and sub-folders under the directory: public_html/_Files/g2data/albums/Multimedia be accessible? While... not affecting the security measure of the Gallery2 Album! |
- Response:
Hello, I have carefully investigated your case and I have found a .htaccess file in the g2data directory. This file contained a directive "Deny from All". I have modified this directive to "Allow form All" and now http://www.myanmarartclub.com/_Files/g2data/albums/Multimedia/Audio/Welcome.mp3 is accessible. However, there is sensitive information in the g2data directory if you want it to be unaccessible again, just edit: _Files/g2data/.htaccess and replace "Allow form All" with "Deny from All".
|

