• Resolved loggins

    (@loggins)


    Advanced Ads no longer works with class=wp-video-shortcode so they don’t display video (only audio).

    We have found that if you place “x” at the end of wp-video-shortcode, video will display correctly. Help is greatly appreciated.

    <video preload=”none” class=”wp-video-shortcode” id=”video-9874-2_html5″ width=”360″ height=”450″ autoplay=”1″ data-preload=”metadata” src=”https://newmusicweekly.com/wp-content/uploads/2020/05/black-pontiac-video-ad.mp4?_=2″><source type=”video/mp4″ src=”https://newmusicweekly.com/wp-content/uploads/2020/05/black-pontiac-video-ad.mp4?_=2″></video>

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Thomas Maier

    (@webzunft)

    Hi loggins,

    Thanks for reaching out.

    I am not sure I completely understand. Are you saying that some pre-defined behavior is attached to the wp-video-shortcode class that is not working anymore? If you change the class name and it works, then the issue is likely related to whatever is using that class. Advanced Ads does not do anything with wp-video-shortcode.

    Please also add that code without Advanced Ads into a Custom HTML widget in your sidebar. Does the broken behavior persist?

    Thanks,
    Thomas

    Thread Starter loggins

    (@loggins)

    Thank you for your quick response.

    Allow me to walk you through how I have been using the pluggin which has previously worked.

    1) create new ad
    2) Select “rich content”
    3) Add Media (upload video ad)
    4) add to ad group

    I then goto Widget area and add Advanced Ads to the Side Widget. When displaying the page, video ads are present, but only audio plays (no video). I have inspected the code and found that by renaming the wp-video-shortcode with an “x” the video will then show up.

    I have also added the Advanced Ads shortcode as a custome html sidebar widget with the same thing happening. .only audio, no video.

    I appreciate your help in getting this corrected.

    Plugin Author Thomas Maier

    (@webzunft)

    Thanks for sharing your workflow.

    I am not aware of a change in our code that could explain the behavior.

    Please add the code to a custom HTML widget for testing if it is a general issue or tied to Advanced Ads only.

    Btw.: if this is plain code, better use the “plain text” ad type instead of “rich content”. The latter makes use of WordPress magic which could do anything with the code.

    Thanks,
    Thomas

    Plugin Author Thomas Maier

    (@webzunft)

    Hi @loggins,

    did you have a chance to test the video code in a custom HTML widget?

    Thanks,
    Thomas

    Thread Starter loggins

    (@loggins)

    If by code you mean the Advanced Ads short code, yes I have placed this as custom HTML widget and it still does not work.

    I have created a test page on a new basic site which has not yet been developed. I have placed ads on the page using different methods and different video ads.
    https://logginsfamily.com/blog/

    Also issues I can see stem from the class=”wp-video-shortcode” as I previously mentioned in original post at top.

    Plugin Author Thomas Maier

    (@webzunft)

    Thanks for testing, @loggins.

    Since the video doesn’t work even without Advanced Ads involved, the issue must be somewhere else.

    I have looked through some WordPress forums and the WP bug tracker, but nothing related is reported yet. If you have any other plugins on your test site, you could disable them for testing and switch to a default theme. Maybe the issue is in a plugin or theme. Of course, if you disable Advanced Ads and the custom HTML works, I will look into Advanced Ads.

    You mentioned that changing the wp-video-shortcode class helped. So as a last resort, just go with that.

    Thanks,
    Thomas

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Video ads no longer display due to wp-video-shortcode’ is closed to new replies.