allvideos plugin not playing videos

This forum is for general questions about extensions for Joomla! 2.5.

Moderators: pe7er, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
User avatar
Doktor_G
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Sat May 12, 2007 11:52 pm
Location: USA
Contact:

allvideos plugin not playing videos

Post by Doktor_G » Mon Mar 26, 2012 3:54 am

AllVideos is an awesome plugin and I've used it with many Joomla sites. This, however, is my first Joomla 2.5 experience.

There is an issue with a Joomla 2.5 test site where my local or remote videos will not play.  The site is accessible at http://02a9019.netsolhost.com/ar .  Please also see http://02a9019.netsolhost.com/ar/fpa-en.php .

A [youtube] video is added to the home page at the top and plays fine, so the plugin is working.  A local flv (/images/videos/astra.flv) is added below but will not play.  The player is definitely there, but no video.

I originally put the images/videos and images/audio folders in the site via ftp. I removed them and re-inserted with the backend media manager. The problem persisted.

I'm stumped.  Please help.

Relevant scripts are shown below.

Doktor_G

[youtube]  (works)

<!-- JoomlaWorks "AllVideos" Plugin (v4.4) starts here -->

<div class="avPlayerWrapper avVideo">
   <div style="width:400px;" class="avPlayerContainer">
      <div id="AVPlayerID_6ed783ef_1457818069" class="avPlayerBlock">
         <iframe src="http://www.[youtube].com/embed/caONS9IRzr ... autoplay=1 [nofollow]" width="400" height="300" frameborder="0" allowfullscreen title="JoomlaWorks AllVideos Player"></iframe>               </div>
   </div>
</div>

<!-- JoomlaWorks "AllVideos" Plugin (v4.4) ends here -->


astra.flv  (not working)

<!-- JoomlaWorks "AllVideos" Plugin (v4.4) starts here -->

<div class="avPlayerWrapper avVideo">
   <div style="width:400px;" class="avPlayerContainer">
      <div id="AVPlayerID_dbb40d07_671313135" class="avPlayerBlock">
         
<div id="avID_AVPlayerID_dbb40d07_671313135" style="width:400px;height:300px;" title="JoomlaWorks AllVideos Player"></div>
<script type="text/javascript">
   jwplayer('avID_AVPlayerID_dbb40d07_671313135').setup({
      'file': '/ar/images/videos/astra.flv',
      'image': '',
      'height': '300',
      'width': '400',
      'modes': [
         { 'type': 'html5' },
        { 'type': 'flash', src: '/ar/plugins/content/jw_allvideos/jw_allvideos/includes/js/mediaplayer/player.swf' },
        { 'type': 'download' }
      ],
      'autostart': 'true',
      'backcolor': '#010101',
      'plugins': {
         'viral-2': {
            'onpause': 'false',
            'oncomplete': 'true'
         }
      },
      'controlbar': 'bottom',
      'skin': '/ar/plugins/content/jw_allvideos/jw_allvideos/includes/js/mediaplayer/skins/bekle/bekle.zip'
   });
</script>
               </div>
   </div>
</div>

<!-- JoomlaWorks "AllVideos" Plugin (v4.4) ends here -->

User avatar
kenmcd
Joomla! Champion
Joomla! Champion
Posts: 5672
Joined: Thu Aug 18, 2005 2:09 am
Location: California
Contact:

Re: allvideos plugin not playing videos

Post by kenmcd » Mon Mar 26, 2012 10:01 am

.
All of the JW Player files are showing as 403 Forbidden.
For example:
http://02a9019.netsolhost.com/ar/plugin ... wplayer.js
Result is 403: Forbidden
So no player is embedded because the access to the player files is blocked.

It appears you have some sort of ownership/permissions issue with the player files.
Or it could be some security measure messing with the player files.

Note: I used the Firefox HttpFox extension to see the 403 errors on the player files.


Once you get that fixed, you will need to fix the plug-in configuration.
The embed code shows the file to play as: 'file': '/ar/images/videos/astra.flv',

Add that to the base URL of:
h##p://02a9019.netsolhost.com/ar/
And you will get something like:
h##p://02a9019.netsolhost.com/ar/ar/images/videos/astra.flv
That will not work.

The video file is actually here:
http://02a9019.netsolhost.com/ar/images ... /astra.flv



______

Firefox HttpFox extension

The Firefox HttpFox extension is very useful for troubleshooting media player issues.
That is what I used to analyze this issue.

With this tool you can see where the player is actually looking for the media file.
This can point out plug-in configuration issues.

HttpFox download
https://addons.mozilla.org/en-US/firefox/addon/httpfox/

.
██ LibreTraining


Locked

Return to “Extensions for Joomla! 2.5”