Videos have gone
-
I have lost the three videos embedded in my localhost dev site. They have been working happily for weeks but they no longer show up on the page – although I think the HTML is still there. The space they used to occupy is still there but it’s empty.
Since I can’t be certain precisely when this happened, it’s difficult to know how to troubleshoot. I *think* the most likely agent provocateur was an unexpected message from above telling me that WordPress needed to rebuild its database before I could proceed. It’s not a plugin conflict as the videos stay resolutely lost even with all plugins disabled – but it might conceivably be linked to the latest WP or Customizr updates.
The videos weren’t all embedded in the same way. Was anything wrong with my code?
<div class="video-container"><iframe src="//www.youtube.com/embed/fS3BR1ZyRQA" height="315" width="560" allowfullscreen="" frameborder="0"></iframe></div> ------------ <img class="mceItemMedia mceItemIframe" src="https://localhost:8888/sitename/wp-includes/js/tinymce/themes/advanced/img/trans.gif" width="560" height="315" data-mce-json="{'video':{},'params':{'src':'//www.youtube.com/embed/fS3BR1ZyRQA','allowfullscreen':'','frameborder':'0'},'hspace':null,'vspace':null,'align':null,'bgcolor':null}">
<dl class="wp-caption aligncenter" id="" style="width: 600px;"><dt class="wp-caption-dt"> <div class="youtube" style="width: 590; height: 330; text-align: center;"><a name="nhsvideo"></a><object width="590" height="330" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="wmode" value="transparent" /><param name="src" value="https://www.youtube.com/v/fS3BR1ZyRQA?autoplay=0&rel=0" /><embed width="590" height="330" type="application/x-shockwave-flash" src="https://www.youtube.com/v/fS3BR1ZyRQA?autoplay=0&rel=0" wmode="transparent" /></object></div> </dt><dd class="wp-caption-dd">"
Thanks for any help on this. I’ve been reading some old stuff about WP stripping out video embed code with the workaround being simply to include a one-line video URL instead — but I had hoped this would no longer be a live bug. And the workaround doesn’t allow for custom sizing of the video viewer, which is sub-optimal.
- The topic ‘Videos have gone’ is closed to new replies.