Skip to content

Instantly share code, notes, and snippets.

@tallstreet
Created October 10, 2014 20:06
Show Gist options
  • Save tallstreet/8b4a84d80f002010ca0c to your computer and use it in GitHub Desktop.
Save tallstreet/8b4a84d80f002010ca0c to your computer and use it in GitHub Desktop.
designer
<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;
}
#yt_search_video {
width: 300px;
height: 300px;
left: 190px;
top: 230px;
position: absolute;
}
</style>
<yt-search-video imfeelinglucky="{{ videoid }}" index="1" id="yt_search_video"></yt-search-video>
</template>
<script>
Polymer({
videoid: 'test'
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment