GithubHelp home page GithubHelp logo

media's People

Contributors

malsup avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

media's Issues

IE Errors

How do you fix these errors in IE?

Object required

'null' is null or not an object

mp3 : load quicktime in case of inexistent flash

I am proposing a fix for jquery.media.js that will allow a fallback to quicktime if the flash plugin doesn't load (for example, iphones...)
It needs swfobject v2+
Mod line 348

-   var player = /\.mp3\b/i.test(src) ? opts.mp3Player : opts.flvPlayer;
-   var key = opts.flvKeyName;


+   var player = /\.mp3\b/i.test(src) ? opts.mp3Player : opts.flvPlayer;
+   if (window.swfobject) // swfobject v2+
+       if(/\.mp3\b/i.test(src))
+           if(!swfobject.hasFlashPlayerVersion(opts.flashVersion)) // no flash
+               return generate(el, opts, 'quicktime'); // override with quicktime
+   var key = opts.flvKeyName;

Well, it could be useful for somebody else
Bye
Alamaz

jwplayer JS API

Hello Malsup,

I am using your excellent plugin !!
Is there ANY way to access the jwplayer via it's JS api??
Like start / stop??

Searched the web frantically, but no luck.

I could not able to view AVI files

Hi ,

THe bug is i cant able to view Avi videos rest all okay,but in the AVI i just hear the audio and not the video.

Why this is occuring did anyone come across this bug or me the first,any suggestions would be great.

Thanks.

Play on Demand

Hi,

Thanks for the nice plugin. In my asp.net website, i need to Play the video when clicking a button. is there any possibility of playing video on a button click? . it is now needed for .mov and .wmv files atleast.

Thanks for any help.

Media plugin replace

I need to play a lot of video data, but when I play, the plug is slowly disappearing, that is, the background of a number of video overlap together, I would like to ask how to solve this?

PDF preview

Hello, I want to use jquery.media to develop the preview function of PDF, but some browsers just download PDF instead of preview when they open.

Access Forbidden

I get an access forbidden on mine. It works fine when I do it on my local machine but when I put it on the server it does not work and I have made the permissions to the file 777 and it still doesn't work

full screen mode in jw player

in order to get the full screen button to actually work on jw player:

Here is the line change
params: { wmode: 'transparent', allowfullscreen: 'true'}, // added to object element as param elements;

this is a fix by Zylgain @ jquery forums

attrs not working properly?

If I understand the docs corretly, "attrs" are est as sttributes of the resulting .

So I tried something like:
$('.media').media({
width: "100%",
height: "100%",
autoplay: true,
attrs: {
id: 'id_' + new Date().getTime(),
attr1: 'something else'
}
});
without success.

Link to YouTube movie causes "Unknown runtime error" in IE6 and IE8 when inside a <P> block

The following HTML triggers an "Unknown runtime error" in at least IE6 and IE8. It works fine in FF3.5 and Chrome4.

<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
<script type="text/javascript" src="http://malsup.github.com/chili-1.7.pack.js"></script>
<script type="text/javascript" src="http://malsup.com/jquery/jquery.metadata.v2.js"></script>
<script type="text/javascript" src="http://github.com/malsup/media/raw/master/jquery.media.js?v0.92"></script>
<script type="text/javascript" src="http://malsup.com/jquery/media/swfobject.js"></script>
<script type="text/javascript">

  $(function()
  {
    $('a.media').media();
  });

&lt;/script>

</head>

<body>

<P>Free text <A class="media {width:480, height:380, type:'swf'}" href="http://www.youtube.com/v/6MJCvHMtwE4" target=_blank>Palin video</A></P>

</body>

</html>

When I remove the <P> </P> tags around the link, everything works fine.

**DAMN: This site does not correctly handle postings that contain tags... hope you can read the posting anyway. If not, mail me, I'll send you the HTML by email.

Support url without file extension like pdf on href or src

Hi,
When I get a pdf attachment from url 'getxxxpdf', the render of this plugin does not work, but if I change the url to 'xxx.pdf', it works.

Could it get the http file type from response header 'Content-Type'? Or provide a parameter to override the default setting?

PDF,fit to window mode

I am trying to make jquery media pdf to fit to window,I read whole api document but couldn't find any option to make pdf full window(fit to screen)

Problem with IE9 - fails on createElement

Hi,

jquery.media does not work with Internet Explorer 9

error: SCRIPT5022: DOM Exception: INVALID_CHARACTER_ERR (5)
on line 414:
var o = document.createElement(a.join(''));

IE9 handles createElement different than IE8 does does

any ideas?

Best reagrds

Bernd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.