Video tab not working suddently

This topic contains 6 replies, has 2 voices, and was last updated by  Kor 7 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #362772

    Myrianne
    Expired Member
    Post count: 48

    Hello we have this directory https://www.intouch.green/

    Some of the videos started not working, I looked at all settings and dont seem to understand what is going on. If I locally revert to a preceding db backup it works.

    I noticed all the non-working videos are from that package_id#2

    I did make the package inactive and had to make it active again but hide it to prevent people selecting it right now (it was a introduction offer). < so it may have a relation to why the video is broken.

    Here is an example of a working one (I noticed in the db video field – it contains an actual embed code – not just an address)

    Here is an example of a broken one:
    https://www.intouch.green/annonces/coeur-studio/

    Is it supposed to works only with embed codes, or is youtube urls ok too? and why all of a sudden it started rejecting the youtube url while the full embed codes still work? all a mystery to me.

    ill post login details in the next post

    #362773

    Myrianne
    Expired Member
    Post count: 48
    This reply has been marked as private.
    #362783

    Kor
    Moderator
    Post count: 16516

    Hi Hugues,

    You have to insert the full embed code from Youtube in order to display the video. Check out this screenshot http://prntscr.com/ebeww1

    #362873

    Myrianne
    Expired Member
    Post count: 48

    I understand, but it used to work with the youtube address only… i dont see what changed since then… on my localhost install it still works fine.

    is there a hook/filter that I could use to ensure the embed code is entered correctly – not just the addresses? I know I could javascript it, but how about on the server side, hooking into the save_post hook, then testing the value of the video field, and adding the embed wrap around the address?

    #362896

    Kor
    Moderator
    Post count: 16516

    Hi there,

    I’ve just did some research and it looks like there are two types of URL and using this URL below will allow you to display the video directly without the iframe.

    https://www.youtube.com/embed/p3z_jzzWgJI

    However, using this URL https://www.youtube.com/watch?v=p3z_jzzWgJI will not work. Well, I hope it helps.

    Thanks!

    #364998

    Myrianne
    Expired Member
    Post count: 48

    ok thanks that works. have a great day

    #365037

    Kor
    Moderator
    Post count: 16516

    You’re Welcome

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket