diff --git a/static/js/linkVideoDialog.js b/static/js/linkVideoDialog.js new file mode 100644 index 00000000..3103d91b --- /dev/null +++ b/static/js/linkVideoDialog.js @@ -0,0 +1,55 @@ +// vim: et:ts=4:sw=4:sts=4:ft=javascript +'use strict'; + +pandora.ui.linkVideoDialog = function() { + + var ui = pandora.user.ui, + + url = '/' + ui.item + '/480p' + ui.videoPoints[ui.item]['in'] + '.jpg', + + $content = Ox.Element() + .css({margin: '16px'}) + .html(Ox._('To link to this clip, use the following HTML:')), + + $embed = $('