Embed MP4 in flash (swf) in html in Drupal 7 from Amazon S3 and Google Cloud using CDN's

I recently needed to show a video, an MP4 file (http://www.paperupgrade.org/blogs/digital-learning-digital-studying-book-scanning-project-video-lecture-portland-state) stored on Amazon's S3 servers via my Drupal 7 website (thus via HTML) using a free flash player (SWF -- JWPlayer ) and using external javascript files and swf's (from a CDN, namely a dropbox account, thus Google and Amazon cloud services). The result is like this:

I recently gave a brief talk at Portland State University for Amanda Gomm for her digital publishing course, during which I discussed book scanning, the future of books, and our vision for a better digital world for students. The initially choppy audio gets better quickly. :-)

('http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js', 'external');
drupal_add_js('http://dl.dropbox.com/u/blahblahblah/pup/jwplayer-5.9/jwplayer.js', 'external');

<p id="container1">Please install the Flash Plugin</p>

<script type="text/javascript">
  var flashvars = { file:'https://s3.amazonaws.com/blahblahblah/Paper-Upgrade-Project-at-PSU.mp4',autostart:'true' };
  var params = { allowfullscreen:'true', allowscriptaccess:'always' };
  var attributes = { id:'player1', name:'player1' };

    flashvars, params, attributes);

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.