Bài viết này thực hiện (hoặc lụm bài về đăng câu like từ các trang khác) bởi Việt Lâm Coder một YOUTUBER có tâm và đẹp trai siêu cấp vô địch zũ trụ.
Mục lục
First of all, make sure you always download the latest version of AllVideos (currently version 4.x).
The following documentation applies to AllVideos version 3.1 or newer.
Installation
AllVideos comes in one unified installer for Joomla! versions 1.5, 2.5 & 3.0. After you download the zip file from our homepage or the AllVideos product page, upload and install the plugin by using the Joomla! installer. Navigate to:
- Extensions >> Install/Uninstall (for Joomla! 1.5) or
- Extensions >> Extension Manager (for Joomla! 2.5 or newer)
…to install the plugin.
Finally, navigate to Extensions >> Plugin Manager (all Joomla! versions) and publish the plugin. To edit the plugin parameters, simply click on its name “AllVideos (by JoomlaWorks)”.
Upgrading
Follow the same procedure as above. New files will simply override the old ones upon installation of a newer package.
Simple Options
This is a screenshot of the plugin parameters (screenshot taken from the plugin’s latest version in Joomla! 1.5 – parameters are identical in other Joomla! versions of course). The parameters contain tooltips with more info were necessary. Usually the only things you need to change are the video dimensions.
Custom options per video
Easy, descriptive syntax for media embedding. Use: {formatORprovider}filenameORvideoID{/formatORprovider}
You can also use syntax like: {format/provider}filenameORvideoID|width|height|autoplay{/format/provider}
…where “width” and “height” are the media dimensions in pixels and “autoplay” is enabled using 1 (use 0 to disable it).
For example, a YouTube video with 600×450 dimensions that autoplays on page load would be displayed adding this plugin tag in your Joomla! article (or K2 item, or Virtuemart product etc.): {youtube}he73js822|600|450|1{/youtube}
Please note that for providers like YouTube, Vimeo, Dailymotion, Blip.tv, Justin.tv, SoundCloud, Twitvid & yFrog you can also use the entire video page URL instead of just the ID.
MVC Templating
The feature trully setting apart all our plugins from any other Joomla! plugin are their MVC architecture, currently available in Joomla! for components and modules only. That means you can use HTML and CSS template overrides inside your Joomla! template and completely change the way the plugin elements display on your website!
So you can either choose to use the versatile base styling of the plugin or simply override it (both the HTML and CSS code) by copying the plugin’s folder /plugins/content/jw_allvideos/tmpl/Classic in Joomla! 1.5 or the folder /plugins/content/jw_allvideos/jw_allvideos/tmpl/Classic in Joomla! 2.5 or newer TO your Joomla! template’s /templates/YOURJOOMLATEMPLATE/html/jw_allvideos/ folder (create it if it doesn’t exist), as you would with components and modules.
Whatever changes you do from now on within this folder, will completely override the plugin’s output, exactly as you would with any other MVC component or module.
The good thing about MVC templating is you don’t have to worry about future updates breaking your styling.
Available tags in AllVideos
Below are two tables describing what audio/video formats and video providers are supported by AllVideos.
In the audio/video formats table you can see the type, paths and what Joomla! tag to enter within your content items/articles. Please note that if for example you divide your video/audio folder into subfolders, then you need to specify the folder path AFTER the master video/audio folder path.
In plain English this means that if your video exists in images/stories/videos/summer/trip_to_paris.flv and your “Local Video Folder” parameter is set to images/stories, you would simply enter {flv}summer/trip_to_paris{/flv}.
AllVideos – Supported Video & Audio Formats : Formats
VIDEO FORMATS | Note: for this example, we assume that the plugin parameter “Local Video Folder” is set to “images/stories/videos” | ||
. |
Video Formats using the AllVideos Flash/HTML5 video player | Actual file path | AllVideos plugin tag to enter in Joomla! |
. |
FLV | images/stories/videos/our-family-trips/paris.flv | {flv}our-family-trips/paris{/flv} |
. |
FLV hosted on remote server | http://domain.com/media/paris.flv | {flvremote}http://domain.com/media/paris.flv{/flvremote} |
. |
MP4 (H.264 Video) | images/stories/videos/our-family-trips/paris.mp4 | {mp4}our-family-trips/paris{/mp4} |
. |
MP4 (H.264 Video) hosted on remote server | http://domain.com/media/paris.mp4 | {mp4remote}http://domain.com/media/paris.mp4{/mp4remote} |
. |
OGV (OGG VIdeo) | images/stories/videos/our-family-trips/paris.ogv | {ogv}our-family-trips/paris{/ogv} |
. |
OGV (OGG VIdeo) hosted on remote server | http://domain.com/media/paris.ogv | {ogvremote}http://domain.com/media/paris.ogv{/ogvremote} |
. |
WebM | images/stories/videos/our-family-trips/paris.webm | {webm}our-family-trips/paris{/webm} |
. |
WebM hosted on remote server | http://domain.com/media/paris.webm | {webmremote}http://domain.com/media/paris.webm{/webmremote} |
. |
F4V | images/stories/videos/our-family-trips/paris.f4v | {f4v}our-family-trips/paris{/f4v} |
. |
F4V hosted on remote server | http://domain.com/media/paris.f4v | {f4vremote}http://domain.com/media/paris.f4v{/f4vremote} |
. |
M4V (H.264 Video) | images/stories/videos/our-family-trips/paris.m4v | {m4v}our-family-trips/paris{/m4v} |
. |
M4V (H.264 Video) hosted on remote server | http://domain.com/media/paris.m4v | {m4vremote}http://domain.com/media/paris.m4v{/m4vremote} |
. |
3GP | images/stories/videos/our-family-trips/paris.3gp | {3gp}our-family-trips/paris{/3gp} |
. |
3GP hosted on remote server | http://domain.com/media/paris.3gp | {3gpremote}http://domain.com/media/paris.3gp{/3gpremote} |
. |
3G2 | images/stories/videos/our-family-trips/paris.3g2 | {3g2}our-family-trips/paris{/3g2} |
. |
3G2 hosted on remote server | http://domain.com/media/paris.3g2 | {3g2remote}http://domain.com/media/paris.3g2{/3g2remote} |
. |
|||
. |
Video Formats using the native QuickTime plug-in for playback | Actual file path | AllVideos plugin tag to enter in Joomla! |
. |
MOV | images/stories/videos/our-family-trips/paris.mov | {mov}our-family-trips/paris{/mov} |
. |
MOV hosted on remote server | http://domain.com/media/paris.mov | {movremote}http://domain.com/media/paris.mov{/movremote} |
. |
MPEG | images/stories/videos/our-family-trips/paris.mpeg | {mpeg}our-family-trips/paris{/mpeg} |
. |
MPEG hosted on remote server | http://domain.com/media/paris.mpeg | {mpegremote}http://domain.com/media/paris.mpeg{/mpegremote} |
. |
MPG | images/stories/videos/our-family-trips/paris.mpg | {mpg}our-family-trips/paris{/mpg} |
. |
MPG hosted on remote server | http://domain.com/media/paris.mpg | {mpgremote}http://domain.com/media/paris.mpg{/mpgremote} |
. |
AVI (must contain web compatible video) | images/stories/videos/our-family-trips/paris.avi | {avi}our-family-trips/paris{/avi} |
. |
AVI (must contain web compatible video) hosted on remote server | http://domain.com/media/paris.avi | {aviremote}http://domain.com/media/paris.avi{/aviremote} |
. |
|||
. |
Video Formats using the native Windows Media plug-in for playback | Actual file path | AllVideos plugin tag to enter in Joomla! |
. |
WMV | images/stories/videos/our-family-trips/paris.wmv | {wmv}our-family-trips/paris{/wmv} |
. |
WMV hosted on remote server | http://domain.com/media/paris.wmv | {wmvremote}http://domain.com/media/paris.wmv{/wmvremote} |
. |
|||
. |
Video Formats using the native DivX plug-in for playback | Actual file path | AllVideos plugin tag to enter in Joomla! |
. |
DivX | images/stories/videos/our-family-trips/paris.divx | {divx}our-family-trips/paris{/divx} |
. |
DivX hosted on remote server | http://domain.com/media/paris.divx | {divxremote}http://domain.com/media/paris.divx{/divxremote} |
. |
|||
. |
Formats using the native Flash browser plug-in for playback (usually used for video or animated banners) | Actual file path | AllVideos plugin tag to enter in Joomla! |
. |
SWF (Shockwave Flash) | images/stories/videos/banners/promo.swf | {swf}banners/promo{/swf} |
. |
SWF (Shockwave Flash) hosted on remote server | http://domain.com/media/promo.swf | {swfremote}http://domain.com/media/promo.swf{/swfremote} |
. |
|||
. |
|||
. |
AUDIO FORMATS | Note: for this example, we assume that the plugin parameter “Local Audio Folder” is set to “images/stories/audio” | |
. |
Audio Formats using the AllVideos Flash/HTML5 video player | Actual file path | AllVideos tag to enter in Joomla! |
. |
MP3 | images/stories/audio/podcasts/theJoomlaShow.mp3 | {mp3}podcasts/theJoomlaShow{/mp3} |
. |
MP3 hosted on remote server | http://domain.com/audio/theJoomlaShow.mp3 | {mp3remote}http://domain.com/audio/theJoomlaShow.mp3{/mp3remote} |
. |
AAC | images/stories/audio/podcasts/theJoomlaShow.aac | {aac}podcasts/theJoomlaShow{/aac} |
. |
AAC hosted on remote server | http://domain.com/audio/theJoomlaShow.aac | {aacremote}http://domain.com/audio/theJoomlaShow.aac{/aacremote} |
. |
M4a | images/stories/audio/podcasts/theJoomlaShow.mp4 | {mp4}podcasts/theJoomlaShow{/mp4} |
. |
M4a hosted on remote server | http://domain.com/audio/theJoomlaShow.mp4 | {mp4remote}http://domain.com/audio/theJoomlaShow.mp4{/mp4remote} |
. |
OGG Theora | images/stories/audio/podcasts/theJoomlaShow.ogg | {ogg}podcasts/theJoomlaShow{/ogg} |
. |
OGG Theora hosted on remote server | http://domain.com/audio/theJoomlaShow.ogg | {oggremote}http://domain.com/audio/theJoomlaShow.ogg{/oggremote} |
. |
|||
. |
Audio Formats using the native Windows Media plug-in for playback | Actual file path | AllVideos tag to enter in Joomla! |
. |
WMA | images/stories/audio/podcasts/theJoomlaShow.wma | {wma}podcasts/theJoomlaShow{/wma} |
. |
WMA hosted on remote server | http://domain.com/audio/theJoomlaShow.wma | {wmaremote}http://domain.com/audio/theJoomlaShow.wma{/wmaremote} |
In the video providers table below you can see the provider’s name, a sample URL to a video page, what video ID to “extract” and what Joomla! tag to enter within your content items/articles.
AllVideos – Supported Video & Audio Providers : Video Providers
Since v4.2+ of the plugin, we are adding new providers which previously could not be added with the “id” pattern.
SoundCloud.com is the first such provider supported and you now copy & paste the full URL, which you then place inside {soundcloud} plugin tags.
. |
Video Provider (Flash/HTML5 streaming) |
Video URL | Video ID to grab from Video URL (usually the last part of the URL) |
AllVideos tag to enter in Joomla! |
. |
youtube.com | http://www.youtube.com/watch?v=DV81bAghxBU | Grab the full URL or just “DV81bAghxBU” | {youtube}DV81bAghxBU{/youtube} |
. |
vimeo.com | http://www.vimeo.com/1319796 | Grab the full URL or just “1319796” | {vimeo}1319796{/vimeo} |
. |
dailymotion.com | http://www.dailymotion.com/featured/video/x35714_cap-nord-projet-1_creation | Grab the full URL or just “x35714_cap-nord-projet-1_creation” | {dailymotion}x35714_cap-nord-projet-1_creation{/dailymotion} |
. |
||||
. |
Video Provider (Flash streaming only) |
Video URL | Video ID to grab from Video URL (usually the last part of the URL) |
AllVideos tag to enter in Joomla! |
. |
123video.nl | http://www.123video.nl/playvideos.asp?MovieID=248020 | 248020 | {123video}248020{/123video} |
. |
aniboom.com | http://www.aniboom.com/video/28604/Kashe-Li-Its-Hard/ | 28604 | {aniboom}28604{/aniboom} |
. |
collegehumor.com | http://www.collegehumor.com/video/3515739/bowsers-minions | 3515739 | {collegehumor}3515739{/collegehumor} |
. |
dotsub.com | http://dotsub.com/view/9518104c-aa15-4646-9a39-a789e5586cdb | 9518104c-aa15-4646-9a39-a789e5586cdb | {dotsub}9518104c-aa15-4646-9a39-a789e5586cdb{/dotsub} |
. |
flickr.com | http://www.flickr.com/photos/bswise/5930051523/in/pool-726923@N23/ | 5930051523 | {flickr}5930051523{/flickr} |
. |
funnyordie.com | http://www.funnyordie.com/videos/7c52bd0f81/the-pussy-patch-from-lil-jon | 7c52bd0f81 | {funnyordie}7c52bd0f81{/funnyordie} |
. |
gametrailers.com | http://www.gametrailers.com/video/downloadable-content-soul-calibur/41925 | 41925 | {gametrailers}41925{/gametrailers} |
. |
goal4replay.net | http://www.goal4replay.net/VideoWatchF.asp?ID=56215&Ln=En | 56215 | {goal4replay}56215{/goal4replay} |
. |
godtube.com | http://www.godtube.com/watch/?v=FJ219MNU | FJ219MNU | {godtube}FJ219MNU{/godtube} |
. |
grindtv.com | http://www.grindtv.com/outdoor/video/snowmobile_riding_in_labrador/#60513 | 60513 | {grindtv}60513{/grindtv} |
. |
kewego.com | http://www.kewego.com/video/iLyROoafYcaT.html | iLyROoafYcaT | {kewego}/iLyROoafYcaT{/kewego} |
. |
ku6.com (China) | http://v.ku6.com/special/show_4416694/SaBUoSwhqBgcuTd1.html | SaBUoSwhqBgcuTd1.html | {ku6}SaBUoSwhqBgcuTd1.html{/ku6} |
. |
liveleak.com | http://www.liveleak.com/view?i=2eb_1217374911 | 2eb_1217374911 | {liveleak}2eb_1217374911{/liveleak} |
. |
livevideo.com | http://www.livevideo.com/video/EuroChild/5EEFC251BB0C43229FB0C9C70A30AF69/speakswedishstupid-a-furry-s.aspx | 5EEFC251BB0C43229FB0C9C70A30AF69 | {livevideo}5EEFC251BB0C43229FB0C9C70A30AF69{/livevideo} |
. |
metacafe.com | http://www.metacafe.com/watch/6758278/senna_movie_trailer/ | 6758278/senna_movie_trailer/ | {metacafe}6758278/senna_movie_trailer/{/metacafe} |
. |
myspace.com | http://www.myspace.com/video/vid/37910278 | 37910278 | {myspace}37910278{/myspace} |
. |
myvideo.de | http://www.myvideo.de/watch/8200801/Call_out_Video_Zeig_mir_wie_du_tanzt | 8200801 | {myvideo}8200801{/myvideo} |
. |
sapo.pt | http://videos.sapo.pt/34NipYH7bWgUzc3pZgwo | 34NipYH7bWgUzc3pZgwo | {sapo}34NipYH7bWgUzc3pZgwo{/sapo} |
. |
screenr.com | http://www.screenr.com/LQ2s | LQ2s | {screenr}LQ2s{/screenr} |
. |
sevenload.com | http://en.sevenload.com/videos/C4vgVtx-Startrek-Just-Got-Smaller | C4vgVtx | {sevenload}C4vgVtx{/sevenload} |
. |
sohu.com (China) | http://my.tv.sohu.com/u/vw/6854750 | 6854750 | {sohu}6854750{/sohu} |
. |
southparkstudios.com (Clips only) | http://www.southparkstudios.com/clips/388728/it-sounds-like-poo | 388728 | {southpark}388728{/southpark} |
. |
stupidvideos.com | http://www.stupidvideos.com/video/animals/Cat_Practices_Jumping_Before_Jump_1/#334088 | 334088 | {stupidvideos}334088{/stupidvideos} |
. |
tudou.com | http://www.tudou.com/programs/view/vHRA5NP3ge8/ | vHRA5NP3ge8 | {tudou}vHRA5NP3ge8/{/tudou} |
. |
ustream.tv | http://www.ustream.tv/recorded/15746278 | 15746278 | {ustream}15746278{/ustream} |
. |
vbox7.com | http://vbox7.com/play:1cbe43e895 | 1cbe43e895 | {vbox7}1cbe43e895{/vbox7} |
. |
veevr.com | http://veevr.com/videos/T5THb081f | T5THb081f | {veevr}T5THb081f{/veevr} |
. |
veoh.com | http://www.veoh.com/watch/v21091373cQe4FGa9 | v21091373cQe4FGa9 | {veoh}v21091373cQe4FGa9{/veoh} |
. |
vidiac.com | http://www.vidiac.com/video/Dating-Stupid-Girls;Funny-Stuff | Dating-Stupid-Girls;Funny-Stuff | {vidiac}Dating-Stupid-Girls;Funny-Stuff{/vidiac} |
. |
video.yahoo.com | http://video.yahoo.com/editorspicks-12135647/featured-24306389/mission-impossible-4-trailer-25805900.html | mission-impossible-4-trailer-25805900.html | {yahoo}mission-impossible-4-trailer-25805900.html{/yahoo} |
. |
youku.com (China) | http://v.youku.com/v_show/id_XNzAxNDM3Ng==.html | id_XNzAxNDM3Ng==.html | {youku}id_XNzAxNDM3Ng==.html{/youku} |
. |
youmaker.com | http://www.youmaker.com/video/svb5-ac21c98f0eb1467faa423c52fe90ee9f0020.html | svb5-ac21c98f0eb1467faa423c52fe90ee9f0020.html | {youmaker}svb5-ac21c98f0eb1467faa423c52fe90ee9f0020.html{/youmaker} |
. |
||||
. |
Added in v4.2 | |||
. |
SoundCloud.com (audio) | http://soundcloud.com/sebastien-tellier/look | http://soundcloud.com/sebastien-tellier/look | {soundcloud}http://soundcloud.com/sebastien-tellier/look{/soundcloud} |
. |
||||
. |
Added in v4.3 | |||
. |
blip.tv | http://blip.tv/joomlaworks/k2-for-joomla-dec-2010-4565453 | http://blip.tv/joomlaworks/k2-for-joomla-dec-2010-4565453 | {blip}http://blip.tv/joomlaworks/k2-for-joomla-dec-2010-4565453{/blip} |
. |
justin.tv | http://www.justin.tv/jessicaycombinator/b/258383456 | http://www.justin.tv/jessicaycombinator/b/258383456 | {justin}http://www.justin.tv/jessicaycombinator/b/258383456{/justin} |
. |
twitvid.com | http://www.twitvid.com/PMRZA | Grab the full URL or just “PMRZA” | {twitvid}http://www.twitvid.com/PMRZA{/twitvid} |
. |
yfrog.com | http://yfrog.com/0ia9mcz | Grab the full URL or just “0ia9mcz” | {yfrog}http://yfrog.com/0ia9mcz{/yfrog} |
Since v4.2+ of the plugin, we are adding new providers which previously could not be added with the “id” pattern.
SoundCloud.com is the first such provider supported and you now copy & paste the full URL, which you then place inside {soundcloud} plugin tags.
Bài viết này thực hiện (hoặc lụm bài về đăng câu like từ các trang khác) bởi Việt Lâm Coder một YOUTUBER có tâm và đẹp trai siêu cấp vô địch zũ trụ.