Keyword

Definite MP4 problem with shortcut code

  • lydianp18
  • lydianp18's Avatar Topic Author
  • Offline
  • New Member
More
11 years 8 months ago #53251 by lydianp18
Definite MP4 problem with shortcut code was created by lydianp18
Joomla 2.5, AllVideos 4.5.0, K2 v2.6.7

The plugin video directory is set to: media/kt/videos

The site live page this is on: 50.116.98.223/~rcs/index.php?option=com_k2&view=item&id=6:xpr6550&Itemid=182

(note: I've also tried installing the site in the subdirectory of a domain, same problems)

If I use it as a plugin with shortcut tag, it doesn't work.

If I use K2s Media tab for item and plug in the video there it works.

The problem is the shortcut code is pulling the wrong paths for the player and video...ie:

Here's the bad code from the plugin THAT DOESN'T WORK (I get "Video could not be loaded" error...): Note: I see what's wrong the /~rcs/ shouldn't be there...
<!-- JoomlaWorks "AllVideos" Plugin (v4.4) starts here -->

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

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

Here's the good code THAT WORKS from the media tab:
<!-- JoomlaWorks "AllVideos" Plugin (v4.4) starts here -->

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

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

Anybody know what code I need to update where in the plugin to fix this?  I don't want to use the "remote" mp4 code because this has to be moved to a different domain when it's done.

Also the mp3 shortcut code works perfectly.

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #53252 by Katia
Could you prm me  super admin access and provide me with a link to an item in order to make some tests please.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • lydianp18
  • lydianp18's Avatar Topic Author
  • Offline
  • New Member
More
11 years 8 months ago #53253 by lydianp18
Replied by lydianp18 on topic Re: Definite MP4 problem with shortcut code
I just pulled it up in Chrome - and NEITHER works in chrome or Safari.

In FF & IE, the upload version works but the plugin only plays audio, and they both play through the entire video blank first and then restart from the beginning and play - very weird.

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #53254 by Katia
Check your pms.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum