플래시 무비가있는 상위 div가 있습니다. 부모 div를 회전하므로 플래시 무비도 회전 할 것으로 예상됩니다.CSS 회전 : 플래시가 켜지지 않음
불행히도 이러한 일은 발생하지 않습니다. 플래시 무비는 회전이 없습니다.
이 내 코드
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style>
.rotate
{
position: absolute;
top: 100px;
left: 250px;
width:800px;
height: 800px;
background-color: #f00;
-webkit-transform:rotate(-45deg);
-ms-transform:rotate(-45deg);
-moz-transform:rotate(-45deg);
-o-transform:rotate(-45deg);
transform:rotate(-45deg);
}
</style>
</head>
<body>
<div class="rotate">
<h1>Youtube Flash Video:</h1>
<object width="420" height="315"><param name="movie" value="http://www.youtube.com/v/KMU0tzLwhbE?version=3&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/KMU0tzLwhbE?version=3&hl=en_US" type="application/x-shockwave-flash" width="420" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>
</div>
</body>
</html>
입니다 그리고 이것은
당신은 내가 부모와 함께 회전이 플래시 무비를 얻을 수있는 방법을 알아 브라우저에서 보이는 어떻게?
고맙습니다. Vincent
내가 플래시에 대해 모르지만, 그 대신 당신을위한 옵션이 될 수 있도록 내가는 HTML5'
네, 실제로 Youtube 채널의 비디오를 사용해야하고 IE8과 IE7을 지원해야합니다. 감사합니다 :) – Vinzcent
나는 YouTube가 지금 html5 비디오를하고 있다고 생각 했습니까? 어쨌든 귀하의 예제에서 회전 코드는 IE7/8 중 하나에서 작동하지 않습니다, 그래서 나는 그것이 당신을 위해 문제가 아니라고 생각. 최신 브라우저에서 html5 동영상을 사용할 수 있고 IE7/8에서 회전하지 않으면 IE7/8의 대체 버전으로 플래시를 사용할 수 있으며 다른 브라우저에서 동영상 요소를 회전 할 수 있습니다. – Spudley