Skip to content

Instantly share code, notes, and snippets.

@vorcigernix
Created August 16, 2014 09:29
Show Gist options
  • Save vorcigernix/ce70a5709efa57ae7ca3 to your computer and use it in GitHub Desktop.
Save vorcigernix/ce70a5709efa57ae7ca3 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../yt-video/yt-search-video.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_toolbar {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
background-color: rgb(79, 125, 201);
}
#core_icon {
left: 660px;
top: 230px;
position: absolute;
}
#loadbtn {
width: 48px;
height: 48px;
}
#paper_fab {
left: 900px;
top: 510px;
position: absolute;
}
#paper_progress {
left: 470px;
top: 320px;
position: absolute;
background-color: rgb(120, 114, 114);
}
#yt_search_video {
width: 300px;
height: 300px;
left: 490px;
top: 270px;
position: absolute;
}
</style>
<core-toolbar id="core_toolbar">
<core-icon-button id="loadbtn" icon="drive-video"></core-icon-button>
<div id="div" flex>Movie Player</div>
<core-icon-button id="playstopbtn" icon="play-circle-outline"></core-icon-button>
<core-icon-button id="srtbtn" icon="closed-caption"></core-icon-button>
<core-icon-button id="fullscreenbtn" icon="aspect-ratio"></core-icon-button>
</core-toolbar>
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab>
<yt-search-video id="yt_search_video"></yt-search-video>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment