Tagged: responsive, video
-
AuthorPosts
-
June 26, 2018 at 1:54 pm #977941
Hi, if I upload a video directly to WordPress (no Youtube, Vimeo, etc.) how can I make it responsive?
Wordpress does show it with the [video][/video] tag.I found lot’s of plugins that make embedded Youtube videos responsive, but no solution for WordPress videos.
Thanks!! :)
June 26, 2018 at 6:36 pm #978067Hey germanonline,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
VictoriaJuly 6, 2018 at 11:18 pm #982268It works now, thank you!! … now I have just to find out how to stop self hosed videos from automatically restarting when they end =)
July 7, 2018 at 12:03 am #982289Hi,
I’m glad you were able to get your issue resolved. Did you need additional help or shall we close this thread?
Best regards,
Jordan ShannonJuly 7, 2018 at 12:34 am #982295Yes, i need additional help:
How can I stop the video element from replaying (self hosted) videos automatically?
I want the videos to stop when they are finished but they keep starting over again!!Thx!!
July 8, 2018 at 5:46 pm #982741Hi germanonline,
Here is a thread for you to consider
https://kriesi.at/support/topic/auto-loop-video-element/#post-858121
Remove the autoplay=1 attribute.If you need further assistance please let us know.
Best regards,
VictoriaJuly 8, 2018 at 7:45 pm #982788Since I use the video element and no short code, this doesn’t help … is there a way to stop the video element from looping? Thanks!! :)
July 8, 2018 at 8:42 pm #982826Hi germanonline,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaJuly 9, 2018 at 5:18 pm #983230This reply has been marked as private.July 9, 2018 at 5:29 pm #983252Hi germanonline,
Credentials did not work for me. Could you please update the credentials?
Best regards,
VictoriaJuly 9, 2018 at 8:10 pm #983370This reply has been marked as private.July 10, 2018 at 12:59 pm #983632Hi germanonline,
Thank you, credentials worked this time.
Could you please enable the Advanced Layout Builder debug mode. Here is how to do it:
Best regards,
VictoriaJuly 10, 2018 at 2:52 pm #983703This reply has been marked as private.July 11, 2018 at 12:51 pm #984202Hi germanonline,
Here is the code you can put in your funtions.php
function rm_loop(){ ?> <script> jQuery( document ).ready(function() { jQuery('.page.page-id-28 .avia_video.av-mediajs-loaded').attr('loop', false); }); </script> <?php } add_action('wp_footer', 'rm_loop');
If you need further assistance please let us know.
Best regards,
VictoriaJuly 11, 2018 at 1:57 pm #984225This reply has been marked as private.July 11, 2018 at 4:47 pm #984286Hi,
Yes, that should prevent the loop. Place that at the bottom of functions.php.
Best regards,
Jordan ShannonJuly 11, 2018 at 6:53 pm #984333This reply has been marked as private.July 12, 2018 at 7:40 pm #984860Hi,
I just loaded the page and I cant see the code inside, have you removed it?
Best regards,
BasilisJuly 13, 2018 at 1:59 pm #985156This reply has been marked as private.July 15, 2018 at 7:57 pm #985727Hi,
Yes, it has to be before the last line :)
Best regards,
BasilisJuly 16, 2018 at 12:51 pm #985917This reply has been marked as private.July 18, 2018 at 12:20 pm #986919This reply has been marked as private.July 19, 2018 at 8:31 pm #987617Hey, either the code doesn’t work or I am to stupid to add it to the right spot :/
July 20, 2018 at 5:21 pm #987927The videos are still looping, the code does not work. And it is not about 1 page only. The video element should stop looping videos on all pages. Can you please tell me what to do?
July 25, 2018 at 11:18 am #989631Hi,
I’m sorry for the late response. I adjusted the script a bit and it seems to be working as expected. It’s inside the functions.php file, right after line 17.
Best regards,
IsmaelJuly 25, 2018 at 1:09 pm #989655Thank you but it works just on the homepage.
Is there a way to make it work on all pages?Thx for the support!!
July 26, 2018 at 7:24 am #990081Hi,
That was actually intended. Remove the “.page-id-IDHERE” selector from the script to make it work for every page.
Best regards,
IsmaelJuly 26, 2018 at 9:42 am #990127Thanks, it works now.
Have a nice day.July 26, 2018 at 2:22 pm #990264Hi germanonline,
Glad Ismael could help you :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.