-
AuthorPosts
-
February 12, 2018 at 6:14 pm #911248
Hi Kriesi
I am trying to embed a video into a page on my site built with the Enfold theme.
I need two things:
1. Not to show the title
2. For the video to autoplace when you get to the page.Please advise how to achieve these.
I have tried this: https://youtu.be/3FDZYJo9Yfw?rel=0&autoplay=1?feature=oembed&showinfo=0
But 1 & 2 don’t work.
February 13, 2018 at 10:50 am #911602Hey helban,
Are you getting the same view?
Best regards,
VictoriaFebruary 13, 2018 at 11:07 am #911608I have the right view with the layout builder Victoria.
However, as I am sure you are aware Enfold can be very snaggy, it is definitley not a consistent theme.
Please try it again.
HBFebruary 13, 2018 at 12:04 pm #911648Hi helban,
I have tried.
Best regards,
VictoriaFebruary 13, 2018 at 12:31 pm #911661You say the errors are in those files Victoria. How do I rectify them?
There are not files I have edited in any way. So they must have had an error at installation.
Please advise.
Regards
HelenFebruary 13, 2018 at 10:07 pm #911914Hi,
You would need to either re-upload WordPress OR you can try use a software like WordFence to try replace the file through their automated system
Best regards,
BasilisFebruary 14, 2018 at 5:05 pm #912365Hi Victoria
I have now updated manually all the WordPress files in wp-admin & wp-includes.Please could you take a look at the original problem.
Many thanks
HelenFebruary 16, 2018 at 3:25 am #913059Hi,
1.) Please edit the page then set the Layout > Title Bar Settings to “Hide Both”.
2.) Add this script in the functions.php file.
add_action('wp_footer', 'ava_iframe_parameters'); function ava_iframe_parameters(){ ?> <script> (function($){ $(window).load(function() { // ------------------------------------------------------------------------------------------- // youtube parameter // ------------------------------------------------------------------------------------------- function avia_iframe_parameters(container) { var iframe = jQuery('iframe[src*="youtube.com"]', container); iframe.each(function() { var current = jQuery(this), src = current.attr('src'); if(src) { if(src.indexOf('?') !== -1) { src += '&autoplay=1'; } current.attr('src', src); } }); } avia_iframe_parameters('body'); }); })(jQuery); </script> <?php }
Best regards,
IsmaelFebruary 22, 2018 at 4:44 pm #916170HI the above code is useful but it unfortunately starts all the videos on the page working not just the first one.
Is there a way it will start just the first video working?Also there was a misunderstanding about the title. We do not wish to turn off the page title but we would like the YouTube title across the video not to be visible. Usually this can be changed using the showinfo=0 addition to the link but it doesnt work.
Please advise – access below.
February 22, 2018 at 7:18 pm #916216or please look here:
https://kriesi.at/support/topic/video-13/
for your video:
https://www.youtube.com/watch?v=3FDZYJo9Yfw?autoplay=1&loop=1&modestbranding=1&rel=0&ecver=2&showinfo=0&iv_load_policy=3
February 22, 2018 at 7:21 pm #916218Guenni, I don’t understand what I am being asked to do here.
Are you suggesting I take out the functions.php put in above and add the link to the Video box?
Helen
February 22, 2018 at 7:23 pm #916219That link doenst work in the video box, it just puts text on the page.
February 22, 2018 at 7:24 pm #916220no follow the link and do the rest.
it is an easy slider / containing one video “slide” – The link is above for you
you see on my testpage that it works without additional code in functions.php.Easy-Slider could be place in every container – even grid-layout. etc. pp
It is Enfold 4.2.4
here is an image-gallery: https://postimg.org/gallery/1l0tifbbg/
February 22, 2018 at 7:33 pm #916225Got it. I made it work. I now have one with autoplay and others with autoplay disabled so perfect! Thank you.
Now please help with removing the YouTube video title overlaying the video in full size. Can you help?
HelenFebruary 22, 2018 at 7:50 pm #916240what link did you insert ?
February 22, 2018 at 7:51 pm #916242February 22, 2018 at 7:53 pm #916248can you please post your link of your page
the showinfo=0 should supress that. ?right click on your link above and press open that link in new tab. You see no info at all – thats the point.
do you see the title on my test page ?
February 22, 2018 at 7:56 pm #916253http://79.170.40.175/capsulaser.com/downloads/video/
See below to logon
February 22, 2018 at 8:05 pm #916266ha i got it.
showinfo=0 and no branding ( youtube logo ) does not work together:
so take this link instead:
https://www.youtube.com/watch?v=3FDZYJo9Yfw?autoplay=1&ecver=2&showinfo=0&loop=1&rel=0
February 22, 2018 at 8:08 pm #916269by the way you have to empty your cache.
first i was seeing on my page a title as well – but see now:
https://webers-testseite.de/cynthia/video2/so this seems to be the correct sequence for it –
?autoplay=1&ecver=2&showinfo=0&loop=1&rel=0
autoplay – is self explanatory
showinfo – is the title
loop – is self explanatory
ecver – enable/disable video suggestions on pause
rel – show at the end or notFebruary 22, 2018 at 8:10 pm #916278Fantastic! Thank you Guenni. It is all working exactly as I like it.
With regards
HelenFebruary 22, 2018 at 8:17 pm #916288not for that.
by the way – you could setup start and endtime of the video by:
&start=x ( in sec.)
&end=y ( in sec.)https://www.youtube.com/watch?v=3FDZYJo9Yfw?autoplay=1&ecver=2&showinfo=0&loop=1&start=11&end=327&rel=0
see test-page of mine
but i guess that end time will only work if no loop is set
- This reply was modified 6 years, 8 months ago by Guenni007.
February 22, 2018 at 8:27 pm #916300Thank you Guenni
February 23, 2018 at 5:04 am #916504 -
AuthorPosts
- You must be logged in to reply to this topic.