jlEmbed For jQuery

jlEmbed is a plugin for jQuery, which makes it easier to add embedded media players to your webpage. With support for Adobe Flash, Quicktime, Real Player, Silverlight, Windows Media Player, and YouTube, you will no longer need to hard-code lengthy, cumbersome, and invalid HTML for your music or videos. jlEmbed also has built-in music playlist support, a customizable MP3, SWF, FLV, YouTube audio player, support for swfobject, YouTube videos, and custom YouTube video playlists.

jlEmbed’s YouTube API functions allow you to use the YouTube Javascript API and Chromeless YouTube player, giving you the powerto create custom YouTube player controls and more!

With jlEmbed, you’ll never receive HTML validation errors again from your Flash or other embedded media! jlEmbed helps keep your webpage validating properly even while using embedded media players!

jlEmbed includes basic plugin detection which kindly links visitors to the appropriate plugin download page when a required plugin is not detected, or automatically loads the user’s default media player plugin.

Embedding music or video on your webpage is a snap with jlEmbed!

Download: Git The Source Code
Documentation: jsonlau.com

  • Jason
  • Hubavka

    Windows media player ignores the width and height and resizes the stream after it’s loaded. This only happens in IE. Chrome, Safari, and Firefox display the correct size of teh embeded palyer. Any idea on how to fix this?

  • http://jasonlau.biz Jason Lau

    If you could point me to an example, that would be great. Try using a value in pixels when setting the dimensions. Example: width: ’300px’, height: ’80px’ as opposed to width: ’300′, height: ’80′.

  • Hubavka

    Hi Jason,

    thanks for answering so quickly. My project is not live yet, but I uploaded a simple test page to show you what is happening.

    [....]

    When the stream is loaded the media player changes the size I am asuming to the default size of the stream instead of my settings which are 640px by 432 px. I have the with on both the div and the jlembed, but both are ignored. In addition to that the volume=100 setting is ignored as well and it displays as 50 which is the default.
    I am testing this in IE8, but I beleive it is also happening in IE7. Firefox and Chrome work as expected.

    Thanks for your help.

  • http://jasonlau.biz Jason Lau

    I believe there is an internal script in the video which resizes the container in IE. And, it appears there is a tracking script embedded in the video.

  • Apprentice

    Hi Could you please email me the code for the jlembed test page and code generator? Much appreciated! 

  • http://jasonlau.biz Jason Lau

    jlEmbed is currently under reconstruction and will not be compatible with the code generator and test page once it is completed. Both the code generator and the test page will be remade also after jlEmbed is finished.

  • http://jasonlau.biz Jason Lau

    Hi, unfortunately, we are all at the mercy of third-party plugins to get all the media the web has. There is not a format which will accommodate all browsers, but Flash would be closest. Streaming your podcast through the Flash player would be ideal.

  • Bhawin

    hi…download ( http://jasonlau.biz/home/jQuery-jlEmbed ) link is not found…in which Error is 404..send me email this code…

  • http://jasonlau.biz Jason Lau

    Fixed. Thanks!