2
내 jsp 페이지는 JQuery 모바일로 디자인되었습니다. 내가 youtube 채널 스크립트 태그를 embedd, 그것의 작동하지 않습니다. 그러나 태그를 간단한 JSP 파일에 넣으면 문제없이 작동합니다. 내 코드는 아래와 같습니다 : 당신은 스크립트 태그를 닫을 필요JQuery 모바일 : YouTube 채널 임베드가 작동하지 않습니다.
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet"
href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script
src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
</head>
<body>
<div data-role="page">
<div data-role="header">
<a href="index.jsp" data-role="button" data-icon="home"
data-iconpos="notext"></a>
<h1>home</h1>
</div>
<!-- /header -->
<div data-role="content">
<script
src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/youtube.xml&up_channel=mychannel&synd=open&w=320&h=390&title=&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></div>
<!-- /content -->
</div>
<!-- /page -->
</body>
</html>