Title: blafarm's Replies | WordPress.org

---

# blafarm

  [  ](https://wordpress.org/support/users/blafarm/)

 *   [Profile](https://wordpress.org/support/users/blafarm/)
 *   [Topics Started](https://wordpress.org/support/users/blafarm/topics/)
 *   [Replies Created](https://wordpress.org/support/users/blafarm/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/blafarm/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/blafarm/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/blafarm/engagements/)
 *   [Favorites](https://wordpress.org/support/users/blafarm/favorites/)

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shadowbox JS] [Plugin: Shadowbox JS] Shadowbox "fall back" to MP4 for iPad/Phone?](https://wordpress.org/support/topic/plugin-shadowbox-js-shadowbox-fall-back-to-mp4-for-ipadphone/)
 *  [blafarm](https://wordpress.org/support/users/blafarm/)
 * (@blafarm)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-shadowbox-fall-back-to-mp4-for-ipadphone/#post-2015347)
 * +1 for automatic fallback to Flash or HTML5
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shadowbox JS] [Plugin: Shadowbox JS] Forcing Flash to play .mp4 files](https://wordpress.org/support/topic/plugin-shadowbox-js-forcing-flash-to-play-mp4-files/)
 *  Thread Starter [blafarm](https://wordpress.org/support/users/blafarm/)
 * (@blafarm)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-forcing-flash-to-play-mp4-files/#post-1684371)
 * Hi Matt,
 * Thanks for your prompt reply.
 * Yes, I followed your directions and it works — JW Player is now loading in Shadowbox.
   Kudos!!!
 * Unfortunately, on the downside, flashVars are not being passed to JW Player.
 * Do you see anything wrong with this syntax?
 * a href=”MY_Video” rel=”shadowbox;width=600;height=400;player=flv;options={flashVars:{
   controlbar:’over’}}”>My Video</a
 * Thanks very much for your continued assistance.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shadowbox JS] [Plugin: Shadowbox JS] Forcing Flash to play .mp4 files](https://wordpress.org/support/topic/plugin-shadowbox-js-forcing-flash-to-play-mp4-files/)
 *  Thread Starter [blafarm](https://wordpress.org/support/users/blafarm/)
 * (@blafarm)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-forcing-flash-to-play-mp4-files/#post-1684362)
 * Quick update:
 * Remembering that older versions of Shadowbox wanted the JW Player swf to actually
   reside in a “libraries” > “mediaplayer” directory — I tried that approach — but
   no dice.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shadowbox JS] [Plugin: Shadowbox JS] Forcing Flash to play .mp4 files](https://wordpress.org/support/topic/plugin-shadowbox-js-forcing-flash-to-play-mp4-files/)
 *  Thread Starter [blafarm](https://wordpress.org/support/users/blafarm/)
 * (@blafarm)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-forcing-flash-to-play-mp4-files/#post-1684360)
 * Matt; Thanks so much for that custom version. I have downloaded it — so you can
   delete it now.
 * I’ve been testing for the past couple of hours — and I think I have followed 
   your directions correctly.
 * 1. I copied your js file to the twentyten root directory
 * 2. I inserted the code you supplied (verbatim) into twentyten’s functions.php(
   although I’m not sure if the code needed to be customized — or where exactly 
   it should have been inserted).
 * 3. Basic Shadowbox functionality works. QT is launched by an .mp4 file unless
   I use “player=flv” (no surprise). But, when I use “player=flv” in the link — 
   Shadowbox launches without a JW Player in it.
 * 4. Not knowing what to do — I copied my player.swf into the theme’s root directory—
   but that (predictably) did nothing to solve the problem.
 * 5. So, I haven’t even been able to test whether or not flashVar work.
 * I am unfortunately a novice …
    Which was the reasoning behind my “consulting”
   suggestion. However, I do have a couple of questions which might help me out 
   of the maze I am in:
 * a) Can I use the exact code you supplied in your post — verbatim? Or do any parts
   of that code need to be customized for my specific installation?
 * b) Does the code you supplied need to be pasted in any specific location within
   my theme’s functions.php — or pasted using additional syntax that I might not
   be aware of?
 * c) The snippet on Michael’s website is a bit different from yours. Is there a
   chance that I am missing something that is necessary for this to work? [http://wordpress.org/extend/plugins/shadowbox-js/faq/](http://wordpress.org/extend/plugins/shadowbox-js/faq/)
 * d) Do I need to install my player.swf in a specific location — or do I need to“
   point” to it — in some way?
 * If you can think of anything else that I might be doing wrong — please let me
   know. Sorry that I’m not better informed.
 * Thanks very much for your help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shadowbox JS] [Plugin: Shadowbox JS] Forcing Flash to play .mp4 files](https://wordpress.org/support/topic/plugin-shadowbox-js-forcing-flash-to-play-mp4-files/)
 *  Thread Starter [blafarm](https://wordpress.org/support/users/blafarm/)
 * (@blafarm)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-forcing-flash-to-play-mp4-files/#post-1684349)
 * Thanks very much for your post.
 * My principle goal has been to incorporate links in WordPress/Gravity Form entries
   that spawn JW Players with Playlists — within Shadowbox.
 * I’ve tried a number of variations of the following syntax — but none work:
 * a href=”MY_VIDEO” rel=”shadowbox;width=600;height=400″; options={flashVars:{controlbar:’
   over’}}>My Video</a
 * I have just been told that Michael removed the ability to specify options in 
   the REL attribute as of February 1, 2010 — to avoid the possibility of abuse 
   via javascript’s eval function.
 * I’ve also just been informed that version 3.0.1 is the last build that supported
   that function. I’ve downloaded that version from github — but I have no idea 
   if, or how, to implement it with your excellent plugin. I just don’t have the
   chops to know what to do.
 * At this point, I’d be very willing to pay a consulting fee to get it done (assuming
   it’s possible). If this sounds like something you might be interested in — please
   let me know and I could contact you via your github info (if that were appropriate).
 * If not, I would understand completely — and I would thank you very much for the
   excellent support you have provided.
 * Either way — thanks again.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shadowbox JS] [Plugin: Shadowbox JS] Forcing Flash to play .mp4 files](https://wordpress.org/support/topic/plugin-shadowbox-js-forcing-flash-to-play-mp4-files/)
 *  Thread Starter [blafarm](https://wordpress.org/support/users/blafarm/)
 * (@blafarm)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-forcing-flash-to-play-mp4-files/#post-1684303)
 * Hi Matt,
 * I don’t want to appear impatient — especially after you so kindly (and comprehensively)
   answered my first question …
 * But is there a way to pass JW Player parameters as listed above?
 * Thanks again — and apologies for my eagerness.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shadowbox JS] [Plugin: Shadowbox JS] Forcing Flash to play .mp4 files](https://wordpress.org/support/topic/plugin-shadowbox-js-forcing-flash-to-play-mp4-files/)
 *  Thread Starter [blafarm](https://wordpress.org/support/users/blafarm/)
 * (@blafarm)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-forcing-flash-to-play-mp4-files/#post-1684165)
 * Thank you very much for that comprehensive response. The “player=flv” is perfect
   for my application. That’s great.
 * Quick follow-up question:
 * How would one go about launching a JW Player with a playlist? For example, how
   would you define and pass the following JW Player parameters:
 * skin=”[http://mydomain.com/myskin.zip&#8221](http://mydomain.com/myskin.zip&#8221);
   
   playlistfile=”[http://mydomain.com/myplaylist.xml&#8221](http://mydomain.com/myplaylist.xml&#8221);
   playlistsize=”390″ playlist=”right”
 * Thanks very much for your assistance.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Theme for Uploading Files to Remote FTP Server](https://wordpress.org/support/topic/theme-for-uploading-files-to-remote-ftp-server/)
 *  Thread Starter [blafarm](https://wordpress.org/support/users/blafarm/)
 * (@blafarm)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/theme-for-uploading-files-to-remote-ftp-server/#post-1367524)
 * Thanks very much for your response. I have much to learn.
    Is it possible for
   you to tell me how to remedy the php upload limitation?
 * Thanks

Viewing 8 replies - 1 through 8 (of 8 total)