SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru laflair13's Avatar
    Join Date
    Nov 2004
    Location
    TN
    Posts
    626
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    adding player.swf to website

    Hey all, Sorry if this is in the wrong section.

    I am needing to add a player.swf to my website. I need to upload it to my server. Here is the code that I have.


    Code:
    jwplayer("container").setup({
       modes: [
    			 {
    type: "flash", src:"http://www.MYURL.com/player/player.swf",
    	config: {
    playlist: [
    {
    levels: [
    { file: "/featured/video1.mp4" }
    				  ],
     image: "http://MYURL.com/img/featured/thumb1.png",
    	description: "Description Here <em>3:23</em> ",
    	streamer:"rtmp://cms3.URL.com:8086/vod",
    	 provder: 'rtmp',
    	 type:'rtmp'  
      },
    I put the line in bold where is says I need a player.swf uploaded to my server. Where can I get this from so I can upload it.

    OR is there a better way to put up streaming videos on my site?

    Any suggestions would be appreciate.
    Thanks In Advance

    David

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,729
    Mentioned
    104 Post(s)
    Tagged
    4 Thread(s)
    The most standard way of dealing with video is by using videojs which supports HTML5 features if they're available on the browser, and falls back to other systems (including flash) depending on browser support.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •