HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


flvplayer.swf plays more than flash files

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#64399 (In Topic #13883)
Avatar

Well-settled

flvplayer.swf and Win Media Player

The flvplayer.swf
located URL/data/
really is

JW Player

http://www.longtailvideo.com/players/jw-flv-player/

Am I wrong?

This player can handle more that just flash files and videos encode with different codec but when I use say a video that has an extension of .avi I don't want Windows Media Player to load in IE instead of Windows Media Player I want JW Player to handle all extensions all the time that this player handles. Help on this would be kind or point to the file so that I can edit and use the other abilities this player has like skins and addons sample http://proteamclan.com/flash/player.php

The main reason for this is cause Firefox will not load the videos with .avi.

Thanks

Back to the top
 
Posted
Rating:
#64403
Avatar

It is jwplayer (we have a redistribution license for it).
I don't think it will do .avi files though. It lists a load of codecs, but basically it supports mp4 files or flv files (i.e. what Flash can play). I'm pretty sure it can't play avi files, but even if it could, it would only play avi files with h264 video and aac or mp3 audio.

I believe ocPortal already puts mp4 or m4v file extensions through jwplayer.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#64431
Avatar

Well-settled

Yes, I understand the .avi with h264, the thing is I got myself a licensed for jmplayer and I would like to use .avi with h264 but when I replaced your player with the my licensed one that I know works with .avi and does not want to use Windows Media Player, as oppose to ocPortal keeps wanting to use WMP for these types of files and Firefox can't play .avi. I want Media player code gone. I just want to use My licensed JWplayer for .avi and all files.
How can I replace this, where is the file I need to attempt to edit? Seems there is code for starting WMP if file is an .avi I want that gone.
Thanks
Back to the top
 
Posted
Rating:
#64436
Avatar

Are you really sure you have an avi file, and not just a renamed mp4/m4v/mov file?

Flash video player for AVI files (free for commercial use) - Stack Overflow
Flowplayer Forums - Question about extension .avi

You could copy GALLERY_FLV.tpl into GALLERY_GENERAL.tpl (if I remember the file names right), but I'm sure it's not really an avi file you have jwplayer playing.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#64437
Avatar

Well-settled

Hi, I will convert one with h264 and .avi real quick and post it on my site give my a couple of minutes if even that. I don't want WMP playing this file I want the JW player to play this you will notice that this will not play in Firefox, and Firefox will keep asking to add an addon to the page but that addon will not be added becuase Firefox has no addon. But if you use IE it will load the file with WMP. One sec please
Thanks
Back to the top
 
Posted
Rating:
#64438
Avatar

Well-settled

Back to the top
 
Posted
Rating:
#64439
Avatar

Ok, that is a real avi file, but I just downloaded it, downloaded jwplayer, changed the jwplayer example to reference the downloaded avi file, and it gave an error – i.e. jwplayer can't play it. jwplayer relies on what Flash can play, and Flash can't do avi which is just something Microsoft invented back in the day and not a part of the MPEG standard h264 is based on. You can put h264 video in it, but the standard MPEG container format is different and usually an mp4 file (but mov and m4v file extensions are also sometimes used).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#64440
Avatar

Well-settled

Ok so the .avi is not encoded with h.264 ?
why does it work for this OcPortal 5.1 Beta.

EDITED I JUST LOOKED AND ThAT FILE ID .Mp4
Sorry

What other extensions (not flash) should I encode to so that WMP does not play the file but JW does.?

Thanks
Back to the top
 
Posted
Rating:
#64441
Avatar

Well-settled

So I have made a jack O of myself again.  :lol:
I think I get it now (do not use .avi) I will encode .mp4.

Question still is where can I edit to add the JW players different addons and what not's?

Thanks..
Back to the top
 
Posted
Rating:
#64449
Avatar

At the end of the day you can put whatever code you want into these templates:
  • GALLERY_VIDEO_FLV (.flv files, .mp4 files, .m4v files)
  • GALLERY_VIDEO_QT (.mov files)
  • GALLERY_VIDEO_RM (.ram files)
  • GALLERY_VIDEO_GENERAL (everything else)

Video on the web is a huge mess which is why people almost always use mp4 or flv (e.g. how YouTube does).

ocPortal tries to provide fallbacks in GALLERY_VIDEO_GENERAL so the correct plugins (usually WMP or Quicktime) will load up, but then it depends on if there are any of those plugins available that will accept the file extension, what the container format is (e.g. avi), what markup the web browser expects, what plugin identification system the browser users, how the browser behaves with fallback, and what codecs the media player has installed. i.e. huge mess.

It is changing with HTML5, but even now people have not agreed on what the new standard video format will be. It has been changing a lot, but I think currently it's a war between Google's open format (WebM) and those who have patent interests in the MPEG consortium wanting h264 (Apple, who basically created h.264 as a Quicktime technology, and Microsoft who also hold a lot of patents – basically they all want h264 so they can extra royalties).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#64456
Avatar

Well-settled

Thanks for the extra explanation of the video back ground info:

many many thanks for the location of the files..
 
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: