Okay
  Public Ticket #1480925
Embed video not working on posts
Closed

Comments

  • murad19 started the conversation

    Hello,

    I tried to add embed video as per instructions on the manual (with the iframe code) but whatever I do video doesn't show on the posts. It just shows empty box. Please advise how to fix this. I tried different youtube videos, even my own that I am sure are allowed to be embedded. I even tried Vimeo, same result.

    Thanks,

    Murad

  • murad19 replied

    Any update on this?

    Thanks,

    Murad

  •  93
    djwd replied

    Hi there,

    I couldn't replicate the issue, video embed still working fine for me. Could you please provide a live example?

    Regards
    djwd

  • murad19 replied

    Here is the link to a sample post with embed code on it:

    https://kino-az.com/logan-lucky/

    password: test12

  •  93
    djwd replied

    Hi there, thanks.

    May I ask where are u getting the embed code? This is an example embed code got from youtube:


    <iframe width="560" height="315" src="https://www.youtube.com/embed/zK6FSK98asc" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen=""></iframe>
    

    The URL needs to have /embed/ for it to work, i don't see it in your source URL. Could you try with the above code and check if that works instead? 

    Regards
    djwd

  • murad19 replied

    i was using embed code from the manual and using updated source code. 

    <iframe width="560" height="315" src="http://www.youtube.com/embed/5zFWVXr-LHY" frameborder="0" allowfullscreen></iframe>

    is that not how i am supposed to be doing this?

  • murad19 replied

    Ok, so i got the embed code from Youtube video and it worked. so that what i was doing wrong then, isn't it?

  •  93
    djwd replied

    Yes but you were probably replacing the embed URL which looks like this:

    http://www.youtube.com/embed/5zFWVXr-LHY

    with the actual YouTube video URL which looks like this:

    https://www.youtube.com/watch?v=5zFWVXr-LHY
    

    By the way it's advisable to always get the embed code from the video provider website so you're sure it's correct and up to date. Glad it was sorted anyways!

    Regards
    djwd