diff options
author | raylu <raylu@mixpanel.com> | 2011-11-04 03:09:32 -0700 |
---|---|---|
committer | raylu <raylu@mixpanel.com> | 2011-11-04 03:09:32 -0700 |
commit | b526438feb86bb547f4369cd4c42a4a8160a6df8 (patch) | |
tree | ede04f1bb22cd02d019bb2ae65e501e78e6c83de /templates/p.html | |
parent | 54940d587d780f75439dc2f0fa50fa6228f4268a (diff) | |
download | audioaxis-b526438feb86bb547f4369cd4c42a4a8160a6df8.tar.xz |
change the way the youtube player is embedded, upgrade jquery
Diffstat (limited to 'templates/p.html')
-rw-r--r-- | templates/p.html | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/templates/p.html b/templates/p.html index d465d77..c68072c 100644 --- a/templates/p.html +++ b/templates/p.html @@ -18,16 +18,14 @@ </header> <article> </article> -{{$first := "82KEVKGRAhI"}} <script> var pid = '{{.Id}}'; </script> -<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> +<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script> <script src="/static/script.js"></script> -<object data="http://www.youtube.com/v/{{$first}}?version=3&enablejsapi=1" id="player" width="1" height="1" type="application/x-shockwave-flash"> - <param name="movie" value="http://www.youtube.com/v/{{$first}}?version=3&enablejsapi=1"> +{{$youtube := "http://www.youtube.com/e/82KEVKGRAhI?version=3&enablejsapi=1&rel=0&controls=0&disablekb=1&showinfo=0"}} +<object data="{{$youtube}}" id="player" width="1" height="1" type="application/x-shockwave-flash"> <param name="allowScriptAccess" value="always"> - <embed src="http://www.youtube.com/v/{{$first}}?version=3&enablejsapi=1" allowScriptAccess="always"> </object> {{template "footer.html"}} |