Skip to content
Menu
Obhi's Blog
  • About
Obhi's Blog

Getting the Tagore dance film trilogy onto Facebook

May 25, 2011 by obhi

Last night, I finally succeeded in making the ‘Tagore dance film trilogy’ Facebook application work! The application allows the films to be viewed from within Facebook in full-screen, high definition for $0.99 per film. You can see how it works by going to, for example, www.facebook.com/tagoredance and clicking on the ‘Watch the Tagore dance film trilogy’ link on the left of the screen.

My thanks to the Dynamo Player blog for pointing me towards the explanation of How to embed Dynamo videos on Facebook fan pages by Mickey Bee. Facebook has evolved a little since that detailed post was written in February but most of it is still valid.

I had very few problems following Mickey Bee’s tutorial up to step 10. Then, no matter what I tried, I kept getting the error message ‘Method Not Allowed: The requested method POST is not allowed for the URL …’ when trying to run the application. Eventually, after searching a bit, I worked out that the problem was that my .html or .htm file actually needed to have a .php extension.

Now, it may be that any programmers reading this are already rolling their eyes at how anyone could have been so stupid. The blog post by Vijay Modi which made me realise what the problem was, stated in a matter-of-fact way that “You can not POST to a normal HTML file; the operation has no meaning.” [Please don’t ask me why – I have absolutely no idea!]

So, to avoid any other independent filmmakers having to go through the same struggle as me, see below for the code of the ‘index.php’ file to which the ‘Tagore dance film trilogy’ Facebook application points to. To adapt it for any other film on Dynamo Player, you just need to replace the embed code with the one for your film, as well as replacing the Facebook App ID.

I used OpenOffice to write it, first saving a new text file in HTML format and then using View-HTML Source. If you see ways of improving the code, please let me know and I’ll update this post and the index.php file accordingly.

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”>
<HTML>
<HEAD>
<META HTTP-EQUIV=”CONTENT-TYPE” CONTENT=”text/html; charset=utf-8″>
<TITLE></TITLE>
<META NAME=”GENERATOR” CONTENT=”OpenOffice.org 3.0  (Unix)”>
<META NAME=”CREATED” CONTENT=”20110523;1390900″>
<META NAME=”CHANGED” CONTENT=”20110523;1522900″>
</HEAD>

<BODY LANG=”en-GB” DIR=”LTR”>
<DIV ID=”fb-root” DIR=”LTR”>
<P><BR><BR>
</P>
</DIV>
<P STYLE=”margin-bottom: 0cm”><SCRIPT SRC=”http://connect.facebook.net/en_US/all.js#appId=216256461735445&amp;xfbml=1″></SCRIPT><SCRIPT SRC=””http://connect.facebook.net/en_US/all.js#xfbml=1″”></SCRIPT><EMBED SRC=”https://player.dynamoplayer.com/player//playerx.swf?pid=P13ac74dbdd5df86b333ac74d&amp;vid=V2ab734dbdd5dfc9d66ab734d” TYPE=”application/x-shockwave-flash” NAME=”Object1″ ALIGN=BOTTOM WIDTH=480 HEIGHT=271 allowscriptaccess=”always” wmode=”direct” allowfullscreen=”true” quality=”high”>
</P>
<P STYLE=”margin-bottom: 0cm”><EMBED SRC=”https://player.dynamoplayer.com/player//playerx.swf?pid=P08e054db9e512c3a2d8e054d&amp;vid=V057754db9e5130b8d757754d” TYPE=”application/x-shockwave-flash” NAME=”Object2″ ALIGN=BOTTOM WIDTH=480 HEIGHT=271 allowscriptaccess=”always” wmode=”direct” allowfullscreen=”true” quality=”high”>
</P>
<P STYLE=”margin-bottom: 0cm”><FONT FACE=”Lucida Grande”><FONT SIZE=1 STYLE=”font-size: 7pt”>Chitrangada- Coming soon</FONT></FONT>
</P>
<DIV ID=”Section1″ DIR=”LTR”>
<P><A NAME=”fb-root”></A><SCRIPT SRC=”http://connect.facebook.net/en_US/all.js”></SCRIPT><SCRIPT>
FB.init({
appId  : ‘216256461735445’,
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml  : false  // parse XFBML
});
FB.Canvas.setAutoResize( 100 );
</SCRIPT><BR><BR>
</P>
</DIV>
<P><SCRIPT SRC=”http://connect.facebook.net/en_US/all.js#xfbml=1″></SCRIPT><BR><BR>
</P>
</BODY>
</HTML>

Related

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

  • Virtual film launch: Manikda
  • Virtual dance party
  • Staging the first Online Sahityasabha
  • Online Sahityasabha
  • A virtual performance

Obhi on Twitter

Tweets by obhi

Archives

  • May 2021
  • January 2021
  • June 2020
  • May 2020
  • April 2020
  • December 2019
  • August 2019
  • July 2019
  • May 2019
  • March 2019
  • January 2019
  • December 2018
  • October 2018
  • May 2018
  • July 2017
  • June 2017
  • May 2017
  • June 2016
  • February 2015
  • December 2014
  • October 2013
  • May 2013
  • February 2013
  • January 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012
  • August 2012
  • July 2012
  • June 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • October 2011
  • August 2011
  • July 2011
  • May 2011
  • April 2011
  • January 2011
  • November 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010

Categories

  • Brexit
  • Digital thinking
  • Films
  • Tagore
  • Theatre
©2023 Obhi's Blog | Powered by WordPress and Superb Themes!