- Posts: 38
COMMUNITY FORUM
External CSS
- David Willox
-
Topic Author
- Offline
- Junior Member
Less
More
11 years 2 weeks ago - 11 years 2 weeks ago #54988
by David Willox
External CSS was created by David Willox
My sites are picking up a css from an external site here
s.ytimg.com/yts/cssbin/www-player-vfl0YJpcJ.css
and it is destroying the way my videos are showing.
It looks fine at 565 by 318 px until it starts playing and then shrinks within the player to 483 by 271
You can see an example here idrw2014.soton.ac.uk/index.php/day-1/item/7-simran-sethi-endangered-foods
I can see the code in "sources.php" that appears to be calling it but I cannot see why it is picking it up.
Can anyone help.
PS It is doing it to all my sites even those I have done nothing to in the recent past.
s.ytimg.com/yts/cssbin/www-player-vfl0YJpcJ.css
and it is destroying the way my videos are showing.
It looks fine at 565 by 318 px until it starts playing and then shrinks within the player to 483 by 271
You can see an example here idrw2014.soton.ac.uk/index.php/day-1/item/7-simran-sethi-endangered-foods
I can see the code in "sources.php" that appears to be calling it but I cannot see why it is picking it up.
Can anyone help.
PS It is doing it to all my sites even those I have done nothing to in the recent past.
Last edit: 11 years 2 weeks ago by David Willox. Reason: Additional infromation
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
Less
More
- Posts: 8743
11 years 2 weeks ago #54993
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic External CSS
Hi. The CSS file you are talking about is the Youtube CSS file. I dont think this is causing your issue. Actually this is loaded in iframe so it is not affecting at all your page. Try to use the responsive layout of AllVideos.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- David Willox
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 38
11 years 2 weeks ago #54995
by David Willox
Replied by David Willox on topic External CSS
This whole thing is very mysterious!
Late last night I worked out it was coming from Youtube. I inspected the code and could see the cause of the problem.
So I then uploaded a film to Vimeo and embeded it. It worked fine.
At that point I went to bed knowing there was a solution to my problem - all be it a lengthy one with several hundred videos to upload and embed on a number of different sites.
I had tried the all three different templates; Classic, Framed and Responsive.
I had examined five of our conference sites, some on subdomains of client sites (these are on my server) and some on subdomains of our own.
I used two laptops, a desktop, an iPad and an Android tablet.
I connected to the web via my router and via my iPhone using the cellphone network.
Three of the sites I checked had not been updated in any way in over a week.
All had the same problem.
First thing this morning I still had the problem. By 10:30 the problem disappeared and all seems to be working fine.
Do you think it might have something to do with Youtube's changes to its API. From looking at their site I cannot see that the announced changes would affect the player but...? Could they have changed something and then reverted back to the original. I would love to know having spend hours last night trying to work out if I had screwed up or if somebody had hacked my server.
Late last night I worked out it was coming from Youtube. I inspected the code and could see the cause of the problem.
So I then uploaded a film to Vimeo and embeded it. It worked fine.
At that point I went to bed knowing there was a solution to my problem - all be it a lengthy one with several hundred videos to upload and embed on a number of different sites.
I had tried the all three different templates; Classic, Framed and Responsive.
I had examined five of our conference sites, some on subdomains of client sites (these are on my server) and some on subdomains of our own.
I used two laptops, a desktop, an iPad and an Android tablet.
I connected to the web via my router and via my iPhone using the cellphone network.
Three of the sites I checked had not been updated in any way in over a week.
All had the same problem.
First thing this morning I still had the problem. By 10:30 the problem disappeared and all seems to be working fine.
Do you think it might have something to do with Youtube's changes to its API. From looking at their site I cannot see that the announced changes would affect the player but...? Could they have changed something and then reverted back to the original. I would love to know having spend hours last night trying to work out if I had screwed up or if somebody had hacked my server.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
Less
More
- Posts: 8743
11 years 2 weeks ago #55005
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic External CSS
I don't know if something has changed. The only thing i know for sure is that the only layout of AllVideos that is responsive is the "Responsive". So first of all you need to use that layout. I don't think your server has been hacked.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.