- Posts: 3
- Thank you received: 0
Problem with Video Background
-
Johncasel
Inactive member - Topic Author
- New Member
Less
More
10 years 1 month ago #43328
by Johncasel
Problem with Video Background was created by Johncasel
Hi! I have a problem in my website. Instead of showing me the video background, it shows "Your browser does not support the video tag.", and I'm sure my browser supports it. It worked for a bit, but then, after I did some changes on the website it stopped working. These were the changes:
1. I assigned the "Show featured articles" option to two item menus. This was a mistake, but whatever.
2. I activated Conservative Caché, GZip compression and disabled Sessions
When it started to fail, I reverted this changes, but it didn't work anyway.
Now, I don't know if it's the templates fault, the hosting company fault (They work with IIS) or mine, so I hope you can shed some light on the matter.
Thanks in advance.
1. I assigned the "Show featured articles" option to two item menus. This was a mistake, but whatever.
2. I activated Conservative Caché, GZip compression and disabled Sessions
When it started to fail, I reverted this changes, but it didn't work anyway.
Now, I don't know if it's the templates fault, the hosting company fault (They work with IIS) or mine, so I hope you can shed some light on the matter.
Thanks in advance.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 1 month ago #43329
by ivan.milic
Replied by ivan.milic on topic Problem with Video Background
That will show up when there is problem with all <source> tags within video tag. Iy they point to bad url or even you maybe removed them.
Please Log in to join the conversation.
-
Johncasel
Inactive member - Topic Author
- New Member
Less
More
- Posts: 3
- Thank you received: 0
10 years 1 month ago - 10 years 1 month ago #43331
by Johncasel
Replied by Johncasel on topic Problem with Video Background
Well, I'm sure the videos are in the right place, because I didn't even change the ones that come with the template yet. I'm checking permissions just in case.
My Video Background component's html looks like this:
Is this normal? Where should I check if the <source> tag is correct?, because I can't find where you set the background, not in the joomla backend or in joomla's files.
EDIT: Website is this , sorry I didn't post that earlier.
My Video Background component's html looks like this:
Code:
<div id="videobg"> </div>
<p>Your browser does not support the video tag.</p>
Is this normal? Where should I check if the <source> tag is correct?, because I can't find where you set the background, not in the joomla backend or in joomla's files.
EDIT: Website is this , sorry I didn't post that earlier.
Last edit: 10 years 1 month ago by Johncasel.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 1 month ago #43333
by ivan.milic
Replied by ivan.milic on topic Problem with Video Background
Content of custom HTML module in header1 position is this:
So it seams you accidentally removed video tag along with tags in it
Code:
<div id="videobg"></div>
<video controls="" preload="auto" loop="" autoplay="" poster="/rain/images/video.jpg" id="bgvid">
<source src="/rain/images/video.mp4" type="video/mp4">
<source src="/rain/images/video.ogg" type="video/ogg">
<source src="/rain/images/video.webm" type="video/webm">
Your browser does not support the video tag.
</video>
So it seams you accidentally removed video tag along with tags in it
The following user(s) said Thank You: Johncasel
Please Log in to join the conversation.
-
Johncasel
Inactive member - Topic Author
- New Member
Less
More
- Posts: 3
- Thank you received: 0
10 years 1 month ago - 10 years 1 month ago #43334
by Johncasel
Replied by Johncasel on topic Problem with Video Background
Thanks!!
Looks like TinyMC removed <video> tag and all within it each time I saved changes, even on HTML mode. I switched to codemirror, copied that code, and now it works.
Looks like TinyMC removed <video> tag and all within it each time I saved changes, even on HTML mode. I switched to codemirror, copied that code, and now it works.
Last edit: 10 years 1 month ago by Johncasel.
Please Log in to join the conversation.
Time to create page: 0.149 seconds