FreewayTalk

6 replies to this thread. Most Recent

Steve Gunther

18 Jul 2020, 7:26 pm

Youtube action not working

On all my other pages, youtube action works just fine. But I just added a youtube video to this page, and its simply not displaying. …cant figure out why…

https://relationalparenting.com/English/deeper.html

Gordon Low

19 Jul 2020, 2:56 pm

Hi Steve

Have you used an action called ‘HTTPS Helper’ https://actionsforge.com/actions/https-helper to this page as you have some http links mixed in with https? If you have, for some reason it isn’t working so try removing the action and then re-applying it.

Your YouTube code uses http rather than https as below:

    <div id="item1" class="f-cf"><p class="f-fp f-lp"><span id="item2"><iframe width="723" height="542" id="player" src="http://www.youtube.com/embed/o4t-Adgparo?enablejsapi=1&amp;autohide=1&amp;controls=1&amp;hd=0&amp;fs=1&amp;start=0" frameborder="0"></iframe></span></p> </div>

One of your Google fonts reference has the same issue:

<link href='http://fonts.googleapis.com/css?family=Oswald:300|Open+Sans:300' rel='stylesheet' type='text/css'>

Another example I found was part of a password system:

return a ? 'http:' === document.location.protocol && (a = document.querySelectorAll('input[type=password]')

Hopefully fixing those links will make your YouTube video appear.

As an aside, have you viewed your page on iPhone? For me at least the page is crushed up to half the width of the screen.

All the best

Gordon https://www.gordonlow.net/


Steve Gunther

20 Jul 2020, 4:03 pm

Thanks…I didnt know about that action. I installed it….then uploaded the files again…but still the same problem. Is it enough simply to install the action for the file, or do I need to do something additional for it to function… not sure what else to do.

Yes, the mobile issue - its too much to fix all that at present, hoping people turn their phone on the side to look at it. Thats something about Freeway - getting all the viewing resolutions working is not always so easy…

Gordon Low

21 Jul 2020, 2:35 pm

Sorry that didn’t work for you. The HTTPS action gets applied to the page rather than individual elements.

What action are you using to add the YouTube video to the page? If you try using the Responsive Video action from https://actionsforge.com/actions/responsive-video then it includes an option to switch https on or off. Hopefully that’ll get the video appearing for you without the need for any additional actions.

All the best

Gordon https://www.gordonlow.net/

Steve Gunther

21 Jul 2020, 9:27 pm

Thanks so much. That did it. I didnt even know about that action. Much appreciated.

Steve

Simon Manning

27 Jul 2020, 1:42 pm

Responsive Video is a good alternative to the YouTube Action. I’ve also updated the YouTube Action, so it will now work correctly when used on HTTPS pages: https://actionsforge.com/actions/youtube

Simon

Back to Top

Steve Gunther

27 Jul 2020, 2:11 pm

Thanks for that!