Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이승윤
/
OpenSource-MyCookBook
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
이승윤
2021-05-28 14:38:06 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8a6ae1e5cc71b41e7c01f47648d715898abfa9c8
8a6ae1e5
1 parent
cf2a43e1
chore: Frame.html ->home.ejs에 적용
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
49 deletions
Frame.html
Frame.html
deleted
100644 → 0
View file @
cf2a43e
<!DOCTYPE html>
<html>
<body>
<div
id=
"player0"
></div>
<div
id=
"player1"
></div>
<div
id=
"player2"
></div>
<script>
var
tag
=
document
.
createElement
(
'script'
);
tag
.
src
=
"https://www.youtube.com/iframe_api"
;
var
firstScriptTag
=
document
.
getElementsByTagName
(
'script'
)[
0
];
firstScriptTag
.
parentNode
.
insertBefore
(
tag
,
firstScriptTag
);
var
player
;
var
players
=
[];
players
.
push
(
'player0'
);
players
.
push
(
'player1'
);
players
.
push
(
'player2'
);
var
videoIds
=
[];
videoIds
.
push
(
'037o6vxm0es'
);
videoIds
.
push
(
'kR77WlHRZrs'
);
videoIds
.
push
(
'R6IT_f0XPT8'
);
function
onYouTubeIframeAPIReady
()
{
for
(
var
i
=
0
;
i
<
videoIds
.
length
;
i
++
)
{
player
=
new
YT
.
Player
(
players
[
i
],
{
height
:
'360'
,
width
:
'640'
,
videoId
:
videoIds
[
i
],
events
:
{
// 'onReady': onPlayerReady,
// 'onStateChange': onPlayerStateChange
}
});
}
}
// function onPlayerReady(event) {
// }
// function onPlayerStateChange(event) {
// }
// function stopVideo() {
// }
</script>
</body>
</html>
\ No newline at end of file
Please
register
or
login
to post a comment