User login

Drupal 5 and BlipTV: Agaric's Game Plan

Agaric Design Collective will be working with BlipTV and Drupal 5. We're looking into upgrading the 4.7 module now and are wondering what development resources are available.

Comments

Status so far... whole new direction

From my letter to the Blip.TV chief technical officer:

How can I use the API to get the code used in the usual embed code? In this example, AaquLw

The video this code comes from is:
http://blip.tv/file/687915

But with neither the 1.0 nor 2.0 version of the API can I see this letter code:

http://blip.tv/file/687915?skin=json
http://blip.tv/file/687915?skin=api

Thanks!

benjamin

P.S. FYI, the momentum for Drupal integration with BlipTV has moved over to

http://drupal.org/project/emfield
together with
http://drupal.org/project/media_actions

So you may want to link to them.

Blip explains it for us

Hello Benjamin,

I have updated the wiki to answer your question. Check the FAQ at and let me know if this provides enough information.

Thanks,
Charles

--
Blip.tv Support
support@blip.tv

Read the FAQ:
http://blip.tv/faq/
Get other help:
http://blip.tv/help/
Check out the blip.tv learning center:
http://blip.tv/learning/

That sort of answered the question, how Agaric wants more.

Thank you Charles, that is very helpful. I didn't look at the difference between the json and the rss output carefully enough!

There is no way however to easily extract just the letter code, k2mqri8 from this:

<media:player url="http://blip.tv/file/687915"><![CDATA[<embed src="http://blip.tv/play/k2mqri8" type="application/x-shockwave-flash" width="480" height="360" allowscriptaccess="always" allowfullscreen="true" /> ]]>

</media:player>
in order to construct this, or, or alternately a way to call different sizes of the embedded blip player?

Thanks again!

ben

Blip skipped that question, answered what would have been next

Hello Benjamin,

As far as I can tell, that parameter is always wrapped in CDATA, so you'll have to unwrap and parse it as XML, or use a regular expression on the CDATA block.

Good luck!
Charles

Anyhow, here's how I worked around the deep burying of the BlipTV play code parameter (too deep for SimpleXML to parse it, apparently). Yes, I used PHP string functions to get info from RSS.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.