- Posts: 2
COMMUNITY FORUM
Avi files now playable
- Kieran
-
Topic Author
- Offline
- New Member
Less
More
15 years 10 months ago - 15 years 10 months ago #23889
by Kieran
Avi files now playable was created by Kieran
Hi,
I was having trouble playing .avi videos on my site and I looked on the forums to see if it was actually possible to play. I didn't really find anything that would help me so I had a look around in the jw_allvideos_sources.php. I had a look at the divx format and thought maybe it might work if I create a new one.
Below is the new format I created and I am now able to play .avi videos :).
"avi" => "
<span style=\"width:{VWIDTH}px;height:{VHEIGHT}px;\" class=\"allvideos_player\" title=\"JoomlaWorks AllVideos Player\">
<object type=\"video/divx\" data=\"$mosConfig_live_site/{VFOLDER}/{AVSOURCE}[glow=yellow,2,300].avi[/glow]\" style=\"width:{VWIDTH}px;height:{VHEIGHT}px;\">
<param name=\"type\" value=\"video/divx\" />
<param name=\"src\" value=\"$mosConfig_live_site/{VFOLDER}/{AVSOURCE}[glow=yellow,2,300].avi[/glow]\" />
<param name=\"data\" value=\"$mosConfig_live_site/{VFOLDER}/{AVSOURCE}[glow=yellow,2,300].avi[/glow]\" />
<param name=\"codebase\" value=\"$mosConfig_live_site/{VFOLDER}/{AVSOURCE}[glow=yellow,2,300].avi[/glow]\" />
<param name=\"url\" value=\"$mosConfig_live_site/{VFOLDER}/{AVSOURCE}[glow=yellow,2,300].avi[/glow]\" />
<param name=\"mode\" value=\"full\" />
<param name=\"pluginspage\" value=\"go.divx.com/plugin/download/\" />
<param name=\"allowContextMenu\" value=\"true\" />
<param name=\"previewImage\" value=\"$mosConfig_live_site/{VFOLDER}/{AVSOURCE}.jpg\" />
<param name=\"autoPlay\" value=\"{AUTOPLAY}\" />
<param name=\"minVersion\" value=\"1.0.0\" />
<param name=\"custommode\" value=\"none\" />
<p>No video? Get the DivX browser plug-in for <a href=\"download.divx.com/player/DivXWebPlayerInstaller.exe\">Windows or download.divx.com/player/DivXWebPlayer.dmg\">Mac
</object>
</span>
",
The highlighted parts which were previously .divx, are the only things that need to be changed, or you can copy and past the above :).
The {avi}video here{/avi} tags can now be used.
Just thought I would share this seeing as there were a few people while I was looking around the forums who had the same problem as me.
Kieran
I was having trouble playing .avi videos on my site and I looked on the forums to see if it was actually possible to play. I didn't really find anything that would help me so I had a look around in the jw_allvideos_sources.php. I had a look at the divx format and thought maybe it might work if I create a new one.
Below is the new format I created and I am now able to play .avi videos :).
"avi" => "
<span style=\"width:{VWIDTH}px;height:{VHEIGHT}px;\" class=\"allvideos_player\" title=\"JoomlaWorks AllVideos Player\">
<object type=\"video/divx\" data=\"$mosConfig_live_site/{VFOLDER}/{AVSOURCE}[glow=yellow,2,300].avi[/glow]\" style=\"width:{VWIDTH}px;height:{VHEIGHT}px;\">
<param name=\"type\" value=\"video/divx\" />
<param name=\"src\" value=\"$mosConfig_live_site/{VFOLDER}/{AVSOURCE}[glow=yellow,2,300].avi[/glow]\" />
<param name=\"data\" value=\"$mosConfig_live_site/{VFOLDER}/{AVSOURCE}[glow=yellow,2,300].avi[/glow]\" />
<param name=\"codebase\" value=\"$mosConfig_live_site/{VFOLDER}/{AVSOURCE}[glow=yellow,2,300].avi[/glow]\" />
<param name=\"url\" value=\"$mosConfig_live_site/{VFOLDER}/{AVSOURCE}[glow=yellow,2,300].avi[/glow]\" />
<param name=\"mode\" value=\"full\" />
<param name=\"pluginspage\" value=\"go.divx.com/plugin/download/\" />
<param name=\"allowContextMenu\" value=\"true\" />
<param name=\"previewImage\" value=\"$mosConfig_live_site/{VFOLDER}/{AVSOURCE}.jpg\" />
<param name=\"autoPlay\" value=\"{AUTOPLAY}\" />
<param name=\"minVersion\" value=\"1.0.0\" />
<param name=\"custommode\" value=\"none\" />
<p>No video? Get the DivX browser plug-in for <a href=\"download.divx.com/player/DivXWebPlayerInstaller.exe\">Windows or download.divx.com/player/DivXWebPlayer.dmg\">Mac
</object>
</span>
",
The highlighted parts which were previously .divx, are the only things that need to be changed, or you can copy and past the above :).
The {avi}video here{/avi} tags can now be used.
Just thought I would share this seeing as there were a few people while I was looking around the forums who had the same problem as me.
Kieran
Please Log in or Create an account to join the conversation.
- Rammelbak
-
- Offline
- New Member
Less
More
- Posts: 1
15 years 6 months ago - 15 years 6 months ago #23890
by Rammelbak
Replied by Rammelbak on topic Re: Avi files now playable
Hi Kieran,
thx for the advise. I've tried the addon but it didn't work on the new version 3.1 anymore.
Here are some corrections. The file should be sources.php (located in ..site\plugins\content\jw_allvideos\includes). Corrected Code:
Thx again for sharing!
thx for the advise. I've tried the addon but it didn't work on the new version 3.1 anymore.
Here are some corrections. The file should be sources.php (located in ..site\plugins\content\jw_allvideos\includes). Corrected Code:
"avi" => "
<span style=\"width:{WIDTH}px;height:{HEIGHT}px;\" class=\"allvideos_player\" title=\"JoomlaWorks AllVideos Player\">
<object type=\"video/divx\" data=\"{SITEURL}/{FOLDER}/{SOURCE}.avi\" style=\"width:{WIDTH}px;height:{HEIGHT}px;\">
<param name=\"type\" value=\"video/divx\" />
<param name=\"src\" value=\"{SITEURL}/{FOLDER}/{SOURCE}.avi\" />
<param name=\"data\" value=\"{SITEURL}/{FOLDER}/{SOURCE}.avi\" />
<param name=\"codebase\" value=\"{SITEURL}/{FOLDER}/{SOURCE}.avi\" />
<param name=\"url\" value=\"{SITEURL}/{FOLDER}/{SOURCE}.avi\" />
<param name=\"mode\" value=\"full\" />
<param name=\"pluginspage\" value=\"http://go.divx.com/plugin/download/\" />
<param name=\"allowContextMenu\" value=\"true\" />
<param name=\"previewImage\" value=\"{SITEURL}/{FOLDER}/{SOURCE}.jpg\" />
<param name=\"autoPlay\" value=\"{AUTOPLAY}\" />
<param name=\"minVersion\" value=\"1.0.0\" />
<param name=\"custommode\" value=\"none\" />
<p>No video? Get the DivX browser plug-in for <a href=\"http://download.divx.com/player/DivXWebPlayerInstaller.exe\">Windows</a> or <a href=\"http://download.divx.com/player/DivXWebPlayer.dmg\">Mac</a></p>
</object>
</span>
",
Thx again for sharing!
Please Log in or Create an account to join the conversation.