diff options
-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"}} |