• Hi, I’ve noticed an issue with a site using WordPress and either the [embed] shortcode or the ‘raw’ vimeo iframe code in conjunction with Chrome. There are 2 different vimeo videos embedded in the same post, both of which are shown on the site front page. All shows fine on initial page load, but after moving to another page and hitting the browser ‘back’ button both of the embedded videos end up showing the same video (as in, one is showing the video it should, the other is not).

    Have not to date been able to replicate this in Safari, but have across multiple Chrome installs on several different computers – all without browser add-ons installed.
    If I supply a unique ‘name’ value for each iframe this appears to fix this issue, but is definitely only a work-around as it means our non-technical posters will be unable to post embedded vimeo links.

    On delving into the network activity when this issue occurs I see two calls to different player.vimeo.com/video/******* urls on first load, which are immediately cancelled, and then followed by another two calls (to the different urls) which succeed. On returning to the page with the back button there are again 2 different url calls which are cancelled, followed by 2 succeeding calls, but this time to the same url (obviously resulting in both embedded video players showing the same video).

    If anyone is able to provide any insight into this that would be greatly appreciated! I’ve confirmed that this isn’t an issue with embedding vimeo videos into a plain html document, so is presumably an interaction between something running in wordpress and the embedded video(s).

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Michael

    (@michael78au)

    Just as a follow-up to this, I’m still seeing this issue, and am also seeing it with YouTube video embeds as well.

    Just FYI, I’m seeing this same issue without using WordPress. Pretty sure it’s a Vimeo / Chrome interaction issue.

    Is this your ticket too? https://vimeo.com/forums/help/topic:126615

    I’m planning to bug Vimeo peeps about this.

    I have this issue as well. (multiple youtube embeds on one page).

    How to reproduce:

    – issue seems to appear only on Chrome. IE and FF are ok.

    1 Visit page with multiple oEmbed videos
    2 visit another (any) page
    3 press “Back” button
    4 ALL oembeds pick up and display the LAST of the videos on the page (last as in rndered in html source, not display)

    Same here. Any idea how to solve the issue?

    Thread Starter Michael

    (@michael78au)

    The fix given here:
    https://vimeo.com/forums/topic:107023
    worked for me – which is giving each embedding iframe a unique name.

    It’s not really a proper solution to the problem though.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Incorrect embedded videos after back button on chrome’ is closed to new replies.