Storebox with HWD Mediashare cause problems with fitvids
Rate this topic: 




1.00 out of 6 based on 1 vote(s)






- GK User
- Wed Aug 05, 2015 7:14 am
- Reply with quote
- Report this post
Hello,
Currently I am migrating my site www.west-point.nl from Joomla 2.5 to Joomla 3.x and I am moving from the leaguenews template to this one. Yesterday the developer off HWD Mediashare reported this:
1) Are you aware of this?
2) Is there an 'easy' fix?
3) Should I disable the script? (and how, not sure yet).
Thx in advance!
Site is running on test.west-point.nl for now. This is on another server / VPS but has the same config.
Currently I am migrating my site www.west-point.nl from Joomla 2.5 to Joomla 3.x and I am moving from the leaguenews template to this one. Yesterday the developer off HWD Mediashare reported this:
You template includes the fitvids javascript. This is an external javascript library that interferes with any embedded Youtube videos (amongst others) in an attempt to make them display better. Unfortunately, this is causing problems with the display of Youtube videos in HWDMediaShare. It is causing the ratio of the videos to be wrong. You'll need to disable that script.
1) Are you aware of this?
2) Is there an 'easy' fix?
3) Should I disable the script? (and how, not sure yet).
Thx in advance!
Site is running on test.west-point.nl for now. This is on another server / VPS but has the same config.
-
- Gold Boarder
- GK User
- Wed Aug 05, 2015 8:35 am
- Reply with quote
- Report this post
Hi,
ad3) just try to remove : js\fitvids.jquery.js link from template code : gk_storebox\layouts\blocks\head.php
and it should be okey.
ad3) just try to remove : js\fitvids.jquery.js link from template code : gk_storebox\layouts\blocks\head.php
and it should be okey.
-
- Platinum Boarder
- GK User
- Wed Aug 05, 2015 1:13 pm
- Reply with quote
- Report this post
Oscar E wrote:Hi,
ad3) just try to remove : js\fitvids.jquery.js link from template code : gk_storebox\layouts\blocks\head.php
and it should be okey.
Done this and removed K2 script loading (never knew I could do it there). Problem solved!
-
- Gold Boarder
- GK User
- Mon Aug 10, 2015 8:49 pm
- Reply with quote
- Report this post
- Code: Select all
Uncaught TypeError: jQuery(...).fitVids is not a function
Now shows on every page, looks like it's not solved at all. Any ideas?
-
- Gold Boarder
- GK User
- Mon Aug 10, 2015 9:05 pm
- Reply with quote
- Report this post
Rvdz wrote:
- Code: Select all
Uncaught TypeError: jQuery(...).fitVids is not a function
Now shows on every page, looks like it's not solved at all. Any ideas?
Found it elsewhere.
Removed this from default.php from the layouts folder of the template:
- Code: Select all
<script>
jQuery(document).ready(function(){
// Target your .container, .wrapper, .post, etc.
jQuery("body").fitVids();
});
</script>
-
- Gold Boarder
- GK User
- Tue Aug 11, 2015 12:51 am
- Reply with quote
- Report this post
I guess you found it.
Thanks, maybe it will help others members.
Thanks, maybe it will help others members.
-
- Platinum Boarder
6 posts
• Page 1 of 1