Tagged: , ,

Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #59552
    Anonymous
    Inactive

    I ran into issues updating to EME 2.1.3: It seems no longer possible to embed Youtube videos no matter if using [embed]…[/embed] or simply adding the code provided by Youtube. Saving the event deletes the code. I can still use Youtube in standard posts though. Am I missing something? Any help is appreciated.
    Thanks
    Christian

    #59553
    Franky
    Keymaster

    Where are you entering the youtube shortcode? I’ve sometimes remove shortcodes, but may have been too strict here 🙂

    #59554
    Anonymous
    Inactive

    Hi,
    Entering it in the “details” field of an event resulting in two scenarios:
    1. Embed code gets deleted when I save the event.
    2. I have a case where the code gets saved in the back end but video is not visible in front end.
    Hope this helps.
    Thx,
    Christian

    #59555
    Franky
    Keymaster

    I’ll try later on today myself …

    #59556
    Franky
    Keymaster

    Just tested it here: shortcodes are not touched.
    Make sure that, when entering your shortcode to verify it in “text” mode, to make sure ‘[‘ is not replaced by its html-equivalent.
    When not showing in the frontend: check your logfiles, your browser console, show a demo etc … (see the forum post guidelines: https://www.e-dynamics.be/wordpress/forums/topic/forum-post-guidelines/ )

    #59557
    Anonymous
    Inactive

    Adding the following YT embed code results (text mode, of course) in it being deleted when saved:

    <iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/F530hd0Ho0U&#8221; frameborder=”0″ allow=”accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture” allowfullscreen></iframe>

    Adding [embed]https://www.youtube.com/watch?v=F530hd0Ho0U[/embed] and saving leaves the code untouched so it’s still there but invisible in the front end (any browser!)

    https://www.jazzclub-bruchsal.de/events/martin-meixner-matchtape-organ-trio/

    Embedding used to work perfectly before the latest update (see old event https://www.jazzclub-bruchsal.de/9-5-2019-martin-meixner-matchtape/) and still works in articles:

    https://www.jazzclub-bruchsal.de/9-5-2019-martin-meixner-matchtape/

    Thanks!

    #59558
    Franky
    Keymaster

    the iframe part: if wordpress allows it, then EME allows it (the same if it doesn’t). It used to be less strict, but wordpress made some remarks about this.
    I’ll test the shortcode thing later on this evening. I’m in fact running sanitize_textarea on that field …
    Like I said: maybe it is too strict now …

    #59577
    Franky
    Keymaster

    I tested everything, but could not reproduce your problem

    #59584
    Anonymous
    Inactive

    Thank you very much!
    So I can only assume that the issue has to do with one of the other plug-ins used. I may give this a try and switch them off one by one.

    #59585
    Franky
    Keymaster

    There is a wordpress plugin called “Health Check & Troubleshooting”, that allows you to deactivate all plugins just for your session (and then you can reactivate in your sessions e.g. EME and see if it works).

    #59929
    Anonymous
    Inactive

    I have this same issue – youtube videos aren’t showing up when added to the event details – tried with the [embed] code and with youtube iframe code.

    The code I’m using works in normal posts.

    #59930
    Franky
    Keymaster

    iframe probably gets removed by wordpress. You can allow it via the EME settings “Extra html tags” (there’s an example in it).
    I’ll retry the emebed-example.

    #59932
    Anonymous
    Inactive

    Just found that. It’s working with the iframe source now but not if you add with the standard wordpress embed method.

    #59933
    Franky
    Keymaster

    can you try by adding embed there too (with the same options as iframe)?

    #59934
    Anonymous
    Inactive

    Not quite sure what you mean, but in the event I have two versions to test it for you like this:

    <iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/TMP-GdW3_iQ?controls=0" frameborder="0"></iframe>
    
    [embed]https://youtu.be/TMP-GdW3_iQ[/embed]

    The iframe one works now I added the extra html tags, but the embed one doesn’t do anything.

    #59936
    Franky
    Keymaster

    I mean by adding embed to the extra html tags too

    Edit: never mind, apparently that doesn’t work. It seems some extra stuff needs to be done to render the embed tags, but I can’t fine any doc on that part.

    #59938
    Franky
    Keymaster

    Ok, I finally figured out the problem. I’m changing a lot of code for this (removing custom filters and more using the wordpress ones), so this needs some testing before I release it 🙂

    #59941
    Franky
    Keymaster

    This is now fixed in the latest release.

    #59948
    Anonymous
    Inactive

    Yes that’s working on my site Franky – thank you

    🙂

    #61040
    Anonymous
    Inactive

    Hi, is it possible to allow [embed] in templates as well? When I allow iframe, then iframe works well. But [embed] is working only in event description.

    Explanation: I need to insert video into every event by default with link that is inserted as custom field. I can do it with iframe (after adding relevant tags), but was looking for the solution for a bit longer time than necessary. Allowing [embed] tags would be future proof.

    #61043
    Franky
    Keymaster

    I don’t understand your question, embed seems to work just fine in my templates.

Viewing 21 posts - 1 through 21 (of 21 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top