Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Install this plugin: https://www.ads-software.com/plugins/custom-css-js/

    In the “Edit JS Code” screen:

    1. Under “Where on page” title, select “Footer”
    2. Then add this code to the main code section:
      
      var $ = jQuery,
      	videos = $('iframe[src^="//embed.wirewax.com"]');
      
      videos.each(function() {
      	var video = $(this),
              videoCache = video,
      		videoParent = video.parent();
      
      	video
      		.attr('allowfullscreen', '')
      		.remove();
      
      	videoParent.append(videoCache);
      	
      });
      
    3. Press “Update
    Thread Starter sarahenhance

    (@sarahenhance)

    Hi Andrew,

    Installed on the dev site.

    I couldn’t see “Edit JS Code” – my only option was to add – which i did.
    Instead of update i had Publish.

    It doesn’t seem to have worked: https://enhancemedia1.staging.wpengine.com/services/interactive-video

    Also i left linking type and where in site the same.

    I’m not sure if this is because i have done the wrong thing or it hasn’t solved the issue?

    Sarah

    • This reply was modified 6 years, 10 months ago by sarahenhance.
    Thread Starter sarahenhance

    (@sarahenhance)

    Scratch that!

    I changed the embed code of the video and it seems to work! ??

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Great, the script will only work for videos from the website “embed.wirewax.com”

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Full Screen with WireWax’ is closed to new replies.