The latest embed code uses a script tag that when run adds the iframe with span wrappers. See attached
vidyard_embed-latest-20170504.png.
Currently, this module embeds using the legacy iframe. See attached vidyard_embed-legacy-iframe-20170504.png .

Comments

recrit created an issue. See original summary.

recrit’s picture

Status: Active » Needs review
StatusFileSize
new2.11 KB

The patch attached
* Updates the video embed markup to use the script tag per Vidyard.
* Adds CSS for responsive videos per http://knowledge.vidyard.com/33007-publish-your-player/245140-make-an-in....

eric115’s picture

Thanks for the patch, code looks good. This patch fixes up some minor indenting issues in the CSS file and removes the commented out properties.
I thought about adding an option to continue to render the embeds in the current fashion in case it breaks any styles for someone, but given the low number of 8.x users and the relatively similar markup, it's probably not necessary.

  • Eric115 committed 02c359d on 8.x-1.x
    Issue #2875794 by recrit, Eric115: Updated embed code to latest Vidyard...
eric115’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

drup16’s picture

Is any portion of this RTBC? This looks like it is not in the latest RC1 release.

eric115’s picture

Hi drupi17, this has been committed to the dev branch. I'll be rolling a new release, which will include this patch, sometime later today as part of https://www.drupal.org/project/magnific_popup/issues/2929016