Giter VIP home page Giter VIP logo

mediafront / osmplayer Goto Github PK

View Code? Open in Web Editor NEW
342.0 53.0 182.0 17.99 MB

The Open Standard Media Player is an all-in-one media player for the web. It is an industry changing, open source (MIT) media player that is built to dynamically deliver any type of web media, including HTML5, YouTube, Vimeo, and Flash.

Home Page: http://www.mediafront.org

License: MIT License

JavaScript 43.08% CSS 54.89% PHP 1.48% HTML 0.56%

osmplayer's Introduction

Open Standard Media Player

ABOUT: The open standard media player is an open source MIT - full featured media player written in jQuery. It was designed to dynamically play any media thrown it's way, whether it be HTML5 video - Flash video - Audio, etc.

Although this media player was designed to be used within a Content Management environment, such as Drupal, you can use this player for other applications outside of a CMS.

ENJOY!

osmplayer's People

Contributors

travist 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  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

osmplayer's Issues

howto continue playlist when a video fails

Hi, i'm sorry but i need help.

I'm trying to continue with next video from a youtube playlist when an error occurs (video has been deleted).

I don't know how to get an error event from osmplayer and reproduce next video from playlist. Could someone help me?

Thank you!

Default playlist player template IE8 scrollbar doesnt display

When I use the playlist player, the scrolling fuction / scrollbar does not display ie8. To be sure it wasnt something with my implementation I used your demo site as well and it generated the same problem when tested in Browserstack.

I spent some time trying to mess around with the CSS code in the default css file(templates/defaults/css/osmplayer_default.css) but could not get anything to stick. Its not surprising though, given IE8's less than stellar support of CSS3 & jquery direct dom manipulation methods.

But I did notice that the player template/skin used here: http://html5video.org/wiki/OSM_HTML5_Video_Player
does indeed work in IE8. Which probably can be attributed to the fact that the playlist and scrollbar are visible and doesn't use the automatic hover show hide found in the current default.

Since I am not really all that familiar with OSM. I cant seem to figure out if that is an old template, custom template, skin or combination of the above or how one goes about implementing the template / skin.

I also couldnt find a help forum regarding the player so I apologize if this isn't the appropriate place to post.

regards-

Fullscreen when video starts

Hi, is there any way to start videos in fullscreen?

fullscreen: true paramater doesnt work but i want videos to be full screen as soon as page loads.

Thanx in advance.

Control Bar fails on second playing of a Youtube Video

Everything works great on the initial playing of a youtube video, pausing, playing, scrubbing, all fine.

On the second playing, the control bar becomes un-responsive. You can replay the video by clicking the play button in the center of the video but not by the controller bar. After clcking the play button in the middle of the video display, the video will play, but the timeline is not updated nor is the time display.

I see the same behavior in my stand-alone install of the player and on the mediafront demo
http://mediafront.org/osmplayer/#.UYkZt_GGJTN

I am seeing this on Chrome and Firefox on both Windows and Ubuntu. Have not tested it on IE.

Playlist not working on my system

Hello. How are you. I installed the Open Standard Media (OSM) Player through the "http://mediafront.org/osmplayer/#.UFGQHo1mTx6" page to my Windows 7 laptop. I then extracted the zip file and tried to opened the index.html file in a web browser. The player shows and the dots blink like a video is loading but it never displays any video or playlist videos at all. I tried to view a single video as opposed to the playlist and it appears to work correctly. However, when I try to use the playlist feature, as the software is configured to do upon installation, I cannot see any videos. Is there some additional configurations that I need here. I have visited other web pages that use this player with playlists and they appear to function correctly, However, I cannot seem to get any playlist videos to show using the copy of Open Standard Media (OSM) Player on my computer. Also, I am not using any CMS software but attempting to use this software as a standalone..

Parse Error in PHP4 and PHP5

Open Standard Media (OSM) Player v.97 & 0.98
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /**/__/***/htdocs/player/OSMPlayer.php on line 45.

Single Video Loop

I can't find any looping functionality in the documentation. I am trying to implement a single video loop for a playlist. Ideally the video would loop until the user selected another video in the playlist.

If there is no looping capability, any suggestions on where to start on building one myself would be greatly appreciated.

Thanks in advance,
-David

Multiple HTML5 Sources In Playlist

Please add the ability to specify multiple HTML5 video sources in a playlist. For example, h.264 and OGG video, so that supported browsers will select which video to play without resorting to flash.

How to get [Current Time] and [Playing Index] ??

Hi, in my shop channel page, I want to know the current playing time and which video is played.
How can I get that?

I can't get this from osmplayer?

In current time, how to use the minplayer.players.html5(*).getCurrentTime( ) ?
In playlist, how to get the playing index?

Thanks a lot : )

Playlist thumbnails

Is it possible to not have the currently playing video appear on the playlist? I would like the click on a playlist entry and have it immediately leave the the playlist area when it loads up in the player. Is this possible?

Hello world

Hi, a few questions:

  1. GPL license. Means no commercial use in a viral way? Can you do apache of lgpl?
  2. Is there a simplest non php helloworld.html that just does play?
    Ideally that's just a file in git.
  3. What is the difference btwn the lib and mini player?

tia

Not working with Opera 10.6

Video is playing fine but controls are wrong positioned and video is not showing on fullscreen.
Maybe these are only css issues.

Live video

Does osmplayer support rtmp flv live streaming? I can't seem to get it working and the docs show a non live stream using rtmp.

Player not working on iOS

minplayer is not working on iOS devices, sometimes it does play on iPad, but no luck with iPhone, Same goes for youtube videos, i am using http mp4 videos, it seems to be working fine on desktop, please advise. Thanks for your help

$(function(){
$("video#h264").minplayer({
autoplay: true,
width: '500px',
height: '300px',
wmode:'transparent',
volume:100
});
});

Is it possible...?

Hello.
I just happen to be a newbie in all this stuff.

But just a technical question:
Is it possible to use different online services in 1 playlist?

I mean - 2 vids from youtube, than a video from a social-website (smth like Facebook, but with more feautures - vk.com) and in the end video from official TV-webpage where i found thee own video-player system.

Playlist xml multiple file types.

Can you please post an example of the array needed for multiple html5 file types for mp4, webm, etc...

I have not had any luck figuring this out.

SPF format YouTube HTML5 Roadmap- HELP! :))

Hi,

I was very glad to see a new September release and a github presence. I am preparing a .com built around your OSM player but as a matter of due diligence I am currently investigating a roadmap for the day YouTube moves to HTML5 and flash no longer works.

I have modified the OSM scripts extensively, the code is very pretty, but I am facing the following questions & I sincerely hope some guidance/advice/reassurance can be offered :))

A. the SPF format I am using works fine with the pointing to the canonical http://www.youtube.com/watch?v=VIDEOID format. What happens if this is soon broadcast in HTML5 or however the deprecation of YT vis a vis flash will likely go down?

I traced the code and it seems to be going the "drupal" route which I did not expect. The code while elegant is highly abstracted so understanding is somewhat of a challenge.

Further I signed up for the YouTube HTML5 beta but that apparently does not carry over to the OSM player... worth a try at least.. :))

I tried using the youtube /embed/videoid format but OSM did NOT like that and just started jumping through my playlist showing thumbs in an infinite loop. Fiddler was showing 200 OK YT responses but the contents of the response were for the YT player, which makes sense but my dilemma is:

How can I perform due diligence that HTML5 format will be recognized when YT makes the switch, i.e. comes out of beta and well... "goes for it..?"

Part of my concern is that I directly modified the JQUERY.OSMPLAYER script so upgrading will require some elbow grease & testing.

Finally if possible I'd love to submit our site when we go beta to your site as a showcase of what OSM can do if that is something you entertain.

Thanks again for a great video player.

Cary Abramoff CTO
CALB, LLC

Key input broken after calling play function

Tried on latest Chrome, Firefox and IE - same problem. I'm using Youtube. I haven't tried it with any other provider but if I create a Youtube player myself and call playVideo it doesn't happen, so I'm pretty sure it's something in the OSM player.

To reproduce, create a page with a player and an input. Attach...

                minplayer.get('media', function(media) {

                    media.play();
                }); 

...to a setTimeout or to a button click.

You can no longer enter text into the input. Clicking on the player or out of the window and back in the input will fix it.

IE9 and IE10 - HTML5 not playing Video

Hi all,

i have a very strange Problem with playing Videos in IE9 and IE10.

Firefox and Chrome nworking quite well.

So the Problem is, that in IE9 /10 shows the Loadingscreen, but it never disappers and clicking on play doesn't work. Also a strange Thing is that the Firefox doesn't show the Poster Image.

I checked if it is the Video, but also didn't got it workling with a video from the examples, and the Version of OSM is also the latest one.

Can someone help, because i really get mad with this Problem?

The URL where you can see the strange behaviour:

http://tb.ihrneuerauftritt.de

Thanks
Max

osmplayer does not display

Hi, I just downloaded osmplayer on 11/25 from Git-Hub so I think I have the latest version. I extracted the contence of the zip file to a folder named osmplayer in my webroot. I then tried to pull up the index.html, nothing showed up on the page.

I tried your link and it works great, I assume that it has something to do with my webserver (IIS 7). Is my assumption correct, and if so, do you have any idea when I should look to correct my issue?

Thank you

playlist.xml

Hello,
I have just started using the OSM player with the playlist.xml file. When I attempt to connect to an _.mp4 file in my local directory, the player does not show the movie file. Only when I point the to an internet address do the movie files load and play. When I try to point the location to something like \Reserve_Videos_.mp4, the player does not seem to find the file.

ANY HELP would be greatly appreciated.
Thank you in advance for your time.

Playlist WON'T work. Help, please!

Hi, I've tried to use the playlist code using the 'xml' file, but I can't get the videos to show up. I copied the codes directly from your page.

My video player shows up just fine. Everything is functional. I can close and open the side-bar, I can full screen, and adjust volume. HOWEVER, there are no video clips or images. The entire player is empty. There is only a play button with 3 dots that appear. It keeps trying to load indefinitely.

It's bizarre because the Youtube Playlist works perfectly, but the other Playlist I'm trying to get to work to watch HTML5 videos doesn't.

Am I doing something wrong? When I leave the code unchanged, nothing happens. Then when I change the "playlist.xml" to match the path of the file in my domain's directory -- STILL nothing happens. I just get the 3 loading dots. Please help! It's driving me nuts.

For the record, I'm using Chrome and Safari.

HIde Youtube Information

Hi erevyone,

I'm trying to hide the information from youtube when the source comes of, I attempt to send the API youtube parameter "showinfo=0" in the video URL but the GetID function, with the declared REG expression cuts all after de ID youtube video.

¿How can I hide this information? If I made a playlist with some videos ¿How would can I to select show or hide the Youtube information on each video?

I'm talking about Youtube Information is: title video (with link to youtube, share, like, more information.

Grettings & Thanks for all.
Jb

osm player blocks superfish menu in Drupal

Hi;

I am using the Medifront module in Drupal version 6.X. My theme is Acquia Prosper / Fusion Core. I am utilizing the superfish menus in the theme settings. If I am on a page where the mediafront player is embedded it blocks the superfish drop down menus. I recall this may be related to a z-index value but am not sure. Any assistance would be appreciated.

Load & play from link, track samples...

Hi,

I'd like to load and play a track from links on the page - just like the playlist does, but without the playlist. I'm just talking simple text links here - no teasers or images, etc. I take it this can done with a little JS but, despite having read all I can, I can't get my head around how to go about it...

Additionally, I'm toying with the concept of offering just samples (between two arbitrary track times, like 01:23 to 02:00). Again, how would I go about this, combined with the above (loading / playing from page links)? I realise it wouldn't necessarily secure the track but let's face it - a determined user could get it anyways. I did toss around the idea of re-encoding such tracks so the entire file loaded was only the sample range, but it's too much both in terms of coding and resource usage on the host. Probably also redundant if the entire track is sitting just about anywhere else on the 'net ;-)

To clarify, I'm using OSMP standalone inside a custom PHP framework :-)

Cheers,
Mattt.

Only poster is shown if choosing currrently playing videofile

Running OSM Player with playlist I get the following handling problem.
If a video is currently playing and the same video is choosen once again from the playlist, the video ist playing on - you can hear it ;-) , but the video is overlaid by the poster.
To see the video again, I have to stop and restart the video.

Autohide time change

Where can I change the length of the time it takes for the control overlays to autohide?

[by the way, you are the most prompt support i've ever received! Thanks for an amazing player!]

Standalone Player only plays video every other click using Firefox 10.0

The newest player only plays videos every other time you click the video in the newest version of Firefox. In the web console I get

[08:58:36.597] file://///whs-pdc/b.johnson$/Web%20App/poetryv2/thumbnails/burzdak.jpg
[08:58:36.605] file://///whs-pdc/b.johnson$/Web%20App/poetryv2/thumbnails/burzdak.jpg
[08:58:36.658] file://///whs-pdc/b.johnson$/Web%20App/poetryv2/video/Burzdak.ogv
[08:58:36.701] Error: MEDIA_ERR_SRC_NOT_SUPPORTED @ file://///whs-pdc/b.johnson$/Web%20App/poetryv2/js/jquery.osmplayer.compressed.js:26
[08:58:36.730] file://///whs-pdc/b.johnson$/Web%20App/poetryv2/thumbnails/burzdak.jpg
[08:58:36.747] Error: MEDIA_ERR_SRC_NOT_SUPPORTED @ file://///whs-pdc/b.johnson$/Web%20App/poetryv2/js/jquery.osmplayer.compressed.js:26

Now if I were to click this video again it would play. This is a very annoying problem, any help with it would be great, Thank you!

How to change playlist dynamically on an ajax website

Hi i have a problem i try to use osmplayer with an xml youtube playlist
when i create the osmplayer the player shows the playslist
but when i try to give another playlist the osplayer remains with the first playlist
can you help me please?
here a sample of the web site
http://lidkart.com/LVSB/
you can click on the link Galerie Videos to see the problem
Thank you.

FF video not coming with backing to the visted page

Standalone mode FF
Coming to page once - evrth. was OK, then leaving the page.
When we are coming back to the video-page - or by the browser history or by the direct link we
see we are lost file - video is not coming again with backing to the page.
Loading button fires over the play one and so on.....
Only refreshing FF helps

Tablets

The autoplay next video does not work. Is this a function of the tablet or is this a programming issue?

Keypad stops working when video is playing

Hello Travist,

We are currently facing strange issue with osmplayer. when video is being played and our mouse is on player then my keypad stops working... In our website we have used osmplayer we are having many textboxes in that due to this issue we can not release our solution.

To test that same issue, you can keep you mouse on player and try to zoom in/out your browser screen with keypad.

Can you please help us to resolve this issue?

Thanks in Advance !!

Playlist not working with IE9

There seem to be several issues, one is that the css needs to be modified to allow for 100% player size.. the other is that a (mixed) playlist.xml will not function in IE9 at all. It seems to work on the OSM main site but not in the downloaded files.
I get a shrunken player and nothing will load off of the playlist.. I am running it as a standalone player.

Template does not load using PHP library.

When using the PHP library to load the player, the template does not seem to load at all. CSS files are not generated either. Tested using the sample index.html and index.php included with the download in 1.0-beta2. This worked in the 2010-12-31 commit (95a2ec3). It stopped working in the 2011-01-08 commit (57d6342).

Multiple YouTube videos on same page not working.

Multiple YouTube videos not working on same page. Only one video is working.

I got the latest update "Fixing the youtube and vimeo players to allow more then one player on the page at a time" and i am still having this issue.

5 bugs

1.#mediatitlelinks is disappeared unrecoverably in IE after maximising (onFullScreenMouse IE buggy). In php version it appears once, but in my circum-cs it even is not.

2.#mediadisplay need have style width/heigth set to working properly (or has 0/0 and player hangs)

3.#mediaseekhandle are buggy in IE- with onmouse event on #mediapause it goes about twice to right from the suatble position. So external width/heigth params don't affect for this situation.

4.After the movie ends the player is stopping and #mediabusy are rising over #mediaplay. It's supposed to go back to the movie start point.

5.Installation example for standalone OSMP seems as not working cause some div(s) need IDs. I attached code from .php

OSM player won't work without node id

Eg.

<script> $('.x').osmplayer({...}) </script>

Because the auto-generated ID is no longer valid by jquery standards, it throws a sytax error exception on
"#0.53456353" selector

Large Playlist Slider Error

On a notebook, desktop (not a mobile device) the slider on a large playlist cannot be clicked on and drug up or down to rapidly move through the list. The slider does nothing more than denote relative position in the playlist. Mobile devices do not use sliders so you cannot see this behavior. The only way to move through the list is position the cursor at the bottom of the play list and wait while it slowly scrolls through the list.

Also to arrow buttons often and randomly appear at the bottom of the playlist but seem to have absolutely no effect.

I am including the link to my playlist so you can see the problem. http://www.drneubrander.com/cnc/video.php?playlist=Praise

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.