Hello everyone,
I'm in trouble with Safari (5.0.2, win) and need your help very much!
I have such simple code:
If I try to pass video embed-code via form, nothing is shown. Example of embed-code I use:PHP Code:<html>
<body>
<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<textarea name="image" rows="7"></textarea>
<br>
<input type="submit" name="preview" value="Preview">
</form>
<?php
if(isset($_POST['image']))
echo trim(stripslashes($_POST['image']));
?>
</body>
</html>
Everything works fine with Chrome, Firefox, IE but not with Safari.HTML Code:<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/uCeXNzI_i9g&fs=1%26enablejsapi=1%26playerapiid=VidWontPlay" width="280" height="180" id="VidWontPlay"> <param name="src" value="http://www.youtube.com/v/uCeXNzI_i9g&fs=1%26enablejsapi=1%26playerapiid=VidWontPlay" /> <param name="wmode" value="transparent" /> <param name="allowscriptaccess" value="always" /> <param name="allowFullScreen" value="true" /> </object>
If I just put embed-code in the page's html, everything works.
If I try to pass if via form, nothing is shown.
But if I pass code via form, save page that appeared and then reopen it, everything works again!
Any ideas are much appreciated!


Reply With Quote

Bookmarks