Tagged: 

Viewing 29 posts - 1 through 29 (of 29 total)
  • Author
    Posts
  • #251700

    Using your video module, how can I control the size of the video and stop it from showing related youtube videos?

    Thanks

    #251895

    Hi rhsheehan!

    Thank you for using the theme!

    Instead of using the video element, add a text block then insert the video as iframe. Something like this:

    <iframe width="560" height="315" src="//www.youtube-nocookie.com/embed/PCGydpJXIOg?rel=0" frameborder="0" allowfullscreen></iframe>
    

    Notice the rel=0 after the url? Go to the actual youtube video then click Share > Embed. Look for “Show suggested videos when the video finishes” and disable it. Get the embed code.

    Cheers!
    Ismael

    #256118

    Thanks for the reply. I will take a look at this and see how it works out.

    #256121

    By the way, Thanks for the great support. Enfold is the best theme I have ever used. Can’t wait for you to come out with more like it.

    #256237

    Hi!

    Glad you like Enfold :) Please try and let us know so we can mark this thread as resolved or assist you further

    Cheers!
    Yigit

    #277517

    Hi there,

    Not sure if this is the proper forum to ask, but I’m new to Enfold (just purchased two days ago) and not really techinical at all. Love the product thus far and it is very intuitive! Thanks for all your efforts in making us non-technical folks look good!

    My question is regarding videos. I have a Network Solutions website that I’d like to build and include videos. I have a video which I’ve uploaded to my media gallery (.mp4 format and 5MB size). However, it does not seem to play. I used the video component and filled in the proper information but when I view the page the video stays on “loading”. I tested by using one of the template videos that came with Enfold and it works. Please let me know what I’m doing wrong.

    Thank you!
    Rory

    #277897

    Hey Rory!

    Can you post the direct link to that video?

    Cheers!
    Josue

    #278072

    Hello Josue,

    Here’s the link: http://03a1f12.netsolhost.com/wordpress1/wp-content/uploads/2014/06/SandArt.mp4
    It’s a video I purchased from shuttlestock.com
    Please help!
    Thank you!

    #278123

    Hi!

    If you access the video directly, you’d notice it does play but it’s just a black background, i made a test here:
    http://jsbin.com/cefevodi/1/edit?html,js,output

    Perhaps a codec issue or something.

    Cheers!
    Josue

    #281989

    Thank you Josue,that worked! One more question please. Can you please point me to the instructions on how to add scrolling headlines that will display on top of my video?

    #282024

    Hi!

    If you want it to be part of the video you’d need to edit the video with an editing software like iMovie or Sony Vegas.

    Best regards,
    Josue

    #282053

    Thanks Josue. No I didn’t want it part of the video. I was hoping to have a layer on top (with the video in the background) and have the words scroll across. I was thinking of adding a slider, using the transitions, may be able to accommodate this but have been struggling with it. The sliders would contain all of the text that I wish to scroll on top of the video. Thoughts? Thanks for your patience!

    #282058

    I believe you can do something like that with LayerSlider and the marquee element.

    Cheers!
    Josue

    #577993

    Getting back to the original question on the thread, it should be noted that if you use the iFrame method above the video will not be responsive.

    Is there some CSS that I can add in to used the embed code that allows ?rel=0 while also forcing it to re-size responsively?
    The Visual Composer editor allows it but Enfold’s Avia does not.

    Thanks

    #579554

    Hi!

    Please add the below code to make the video element responsive

    You can adjust the 100% to 80% or any other number you like.

    
    video {
      width: 100%;
      height: auto;
    }
    

    Cheers!
    Vinay Kashyap

    #579937

    @Vinnie
    Thanks for the reply, unfortunately it doesn’t work.
    Whether it is in the css applied to videos or in the actual code it works only for the width and doesn’t hold for the height.

    Example
    <iframe src="https://www.youtube.com/embed/0Ua7I1ILoJw?rel=0" width="100%" height="auto" frameborder="0" allowfullscreen="allowfullscreen"></iframe>

    Using the widget in Enfold doesn’t let you add the inportant ?rel=0 code to a YouTube video and using the iframe code doesn’t let you make it responsive.

    Thanks
    Jon

    #580719

    Hi Jon!

    You could try using a plugin like:
    https://wordpress.org/plugins/advanced-responsive-video-embedder/

    Cheers!
    Josue

    #875600

    Hi, can you tell me whats wrong with the video at http://www.escaperoomheerenveen.nl/? The size of the player is wrong and it used to be fine…

    #875837

    Hi,
    Try this code in the General Styling > Quick CSS field:

    #top .av-video-slide video {
    height: auto !important;
    }
    #top .av-video-slide .mejs-container {
    width: 100% !important;
    }

    Best regards,
    Mike

    #876285

    Hello Mike,
    I have added the css code but it is still the same. What is wrong? It used to work fine…
    John

    #876293

    you might have to just use the Enfold widget for the video then add the “Hide Related Videos” plugin.
    The plugin will also strip out the new Cards and End Screens which YouTube replaced Annotations with this last year, but it does work to hide the related videos.

    Issue with the Enfold video widget is that it is that is still doesn’t allow for Youtubes ?rel=0 code to hide related videos or other options for starting at a certain time ect. Do note that most browsers will disable your your videos if you try to auto play starting in 2018.

    The Issue with using YouTubes embed code in a Text/Code widget inside Enfold instead of the Video Widget is that you have no control or the aspect ratio or height as that is stripped out with the them. Setting them to auto or 100% makes a long skinny video that isn’t responsive.

    Alternatively you can use the Image widget to with a thumbnail of a video/player that links to the YouTube video with the ?rel=0 code on the end and it opens in a lightbox correctly.

    Would be extremely helpful if AVIA inside Enfold both allowed for Youtube’s ?rel=0 markup and also let us as our own custom preview Thumbnail which would help for Lazy Load and gives us more control as you may want your thumbnail to look different on your website than your YouTube Page. Also would let you embed someone else’s public video but have your own thumbnail for it on your website. Other editors that work on Enfold like Visual Composer allow for this but AVIA does not.

    #876326

    Hi Millertimesites,
    I don’t understand much of your message, but we’re not using Youtube. We use a local mp4 file with the Video widget in Avia. Did something change over time with this widget and/or Enfold?
    John

    #876329

    Sorry I assumed you had it uploaded to YouTube especially since this thread was about using the Enfold Video widget with a YouTube video while hiding the related videos that show at the end.

    Typically is it is a best practice to not locally host or upload your videos and it works a million times better to upload them to YouTube or Vimeo then embed them into your website. From load time to compression, reliability, ect this is a much better way to do it. You can upload it as “unlisted” if needed so no one can search for it but you can still use the video url to embed into your website or use with the Enfold Video Widget.

    Either way the way rules apply that I mentioned where using the 100%/auto size rules with embed code instead of the Video Widget seem to get crazy with Enfold and you lose your ability to really control the height as it wont’s maintain the aspect ratio as the width changes. You can get into more complicated stuff and create a new class for the video container using php in in the back end editor but that gets a little messy.

    Jon

    #876335

    What is the BNVara thing you used to add videos on the sub pages like this one?

    #876353

    The problem is at the homepage as stated above.

    #876367

    have you tried to upload said video to YouTube then use the Enfold Video Widget?
    That would probably be your best bet as upload directly to the site isn’t a best practice and can cause issues.
    You can hide related videos with the “hide related videos” plug in

    #877319

    Hi,

    @Heerenhuys: The css code that @Mike previously provided should fix the issue. Please try it again or use the following css code.

    #top .av-video-slide video {
        top: 0;
        height: auto !important;
    }
    
    #top .av-video-slide .mejs-container{ height: 100% !important; width: 100% !important; position: absolute;}
    

    Don’t forget to remove browser cache or hard refresh before checking the page to refresh the stylesheets.

    Best regards,
    Ismael

    #878207

    Hello Ismael,
    I have tried both css codes and both fixed the width, but more than 100% (it ran off screen). And still can not see the play button.
    Any ideas?

    #879451

    Hi,

    @Heerenhuys: Please create a new thread or post with the site url and the login credentials. We’ll check it there.

    Best regards,
    Ismael

Viewing 29 posts - 1 through 29 (of 29 total)
  • The topic ‘Video size and related video issues’ is closed to new replies.