I'm experiencing an issue with an iframe containing audio/video tags on a webpage loaded in an iframe. When I hide and show the iframe on an iPad, the tags disappear.
<button onclick="toggle();">Toggle Iframe</button>
<iframe id='page' src='http://www.quackit.com/common/html_editor_form.cfm?contentFile=../html_5/tags/inc_html_audio_tag.cfm' width="100%" frameborder='1'></iframe>
<script>
function toggle() {
var $el = $('#page');
if ($el.is(':visible')) {
$el.hide();
} else {
$el.show();
}
}
</script>
Demo: http://jsfiddle.net/codef0rmer/sQVCd/
Any suggestions for fixing this issue?