Shape 5

Joomla Templates => Incline - Club => : cpaice February 14, 2017, 11:31:05 AM



: Help Please! Tab Show & Homepage Video not playing
: cpaice February 14, 2017, 11:31:05 AM
http://wyoparks.state.wy.us/sphst/Parks,Sites,Trails/

I'm working on creating a website using the Incline Template.  However, the Homepage video is not working properly (it plays sound but I don't see the picture). I have tried numerous videos (including videos other users are using in their templates) and I'm having the same problem.

Current test video source: http://wyomuseum.state.wy.us/Learn/Videos/nathan%20skype4.mp4

The S5 tab shows do not play on any of my pages. I have also tried just downloading the S5 Extension on another Joomla install for a different site and I wasn't able to get it to work on there either.

http://wyoparks.state.wy.us/sphst/Parks,Sites,Trails/index.php/extensions/s5-tab-show

My server is hosted locally.
Windows Web Server (r) 2008
PHP Version: 7.0.9
MySQL Server Version: 5.1
Joomla Version:  3.6.5

I have also attempted using the Microsoft SQL Server for my database to no avail.  I have double checked that I have modules published to the various Tab positions.

I can reprogram the site myself - but it seems like that kind of defeats the purpose of using a template.  Any help is much appreciated. Thanks!


: Re: Help Please! Tab Show & Homepage Video not playing
: mikek February 15, 2017, 08:07:33 AM
Hello,

I don't see the video playing at all, not even sound. It might be due to the url of your mp4 file. Files should not have a space in their names, you should remove that and then update the url. Your video is currently trying to download when I try to access it instead of playing in the browser as it should. I am not sure what is causing that. It could be a server setting, it might also have to do with the space in the name.

For the tab show issue your server is most likely running an out-dated 32bit operating system. Try modifying the following file:

modules\mod_s5_tab_show\tmpl\default.php

Find this:

$s5_tab_show_random_id = mt_rand(1000000000,9999999999);

And replace it with:

$s5_tab_show_random_id = mt_rand (1000000000, mt_getrandmax());


: Re: Help Please! Tab Show & Homepage Video not playing
: cpaice February 15, 2017, 09:53:37 AM
You sir, are my hero.  Thank you so much! Adjusting that one line of code fixed the video and the tab show.  I appreciate it! Cheers!

Hello,

I don't see the video playing at all, not even sound. It might be due to the url of your mp4 file. Files should not have a space in their names, you should remove that and then update the url. Your video is currently trying to download when I try to access it instead of playing in the browser as it should. I am not sure what is causing that. It could be a server setting, it might also have to do with the space in the name.

For the tab show issue your server is most likely running an out-dated 32bit operating system. Try modifying the following file:

modules\mod_s5_tab_show\tmpl\default.php

Find this:

$s5_tab_show_random_id = mt_rand(1000000000,9999999999);

And replace it with:

$s5_tab_show_random_id = mt_rand (1000000000, mt_getrandmax());


: Re: Help Please! Tab Show & Homepage Video not playing
: joyhanawa March 09, 2017, 10:26:34 AM
Great answer! I was just going to say it doesn't work in PHP7... can you update the site shaper with the new code?