38 users online (0 members and 38 guests)  


  Results 1 to 4 of 4

Related

  1. Videos on websites    Forum: General Discussion
    Replies: 2
  2. Videos streaming    Forum: Website Scripts Forum
    Replies: 3
  3. editing videos    Forum: General Discussion
    Replies: 2
  1. #1
    rajkukma's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2010
    Posts
    1

    Webcasting Videos

    i have my own site for my ofganisation.. how can i upload videos directly to my website without using youtube or any such site??

  2. #2
    RF2OOO's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Aug 2010
    Posts
    30

    Re: Webcasting Videos

    Does your site have Webhosting service for files to be uploaded? Domains alone don't usually have that to the best of my knowledge, you have to first have the flash movie, and a few other files with it to control the flash content, all uploaded to your server.

    I use DVDVideoSoft tools since they are free, and will give you everything you need to post vids to your website.

    DVDVideoSoft Video-to-Flash Converter

    I'll make a video on how to do it also, as it's something my friends have also asked about. I'll post the video as a reply here, to give you an idea of how it works.





    Here's the Maxi player, 1 of 4 that program can make for you.
    http://www.dvdvideosoft.com/guides/dvd/maxi_player_elements_description.png

    It will also give you code in HTML for that object as shown here:
    Code:
    <object id="Object1" type="application/x-shockwave-flash" data="player_flv_maxi.swf" width="320" height="240">
    <param name="movie" value="player_flv_maxi.swf" />
    <param name="allowFullScreen" value="true" />
    <param name="wmode" value="opaque" />
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="quality" value="high" />
    <param name="menu" value="true" />
    <param name="autoplay" value="false" />
    <param name="autoload" value="false" />
    <param name="FlashVars" value="configxml=01.xml" />
    </object>
    There's also an option to control it with Java or an XML file you can upload.
    Last edited by HTML; 03-08-2012 at 11:54 AM.

  3. #3
    coothead's Avatar
    bald headed old fart

    Status
    Offline
    Join Date
    Aug 2003
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    732

    Re: Webcasting Videos

    Hi there rajkukma,

    and a warm welcome to these forums.

    Have a look at this example, it may suit your requirements...
    Code:
    
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
       "http://www.w3.org/TR/html4/strict.dtd">
    <html lang="en">
    <head>
    
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="language" content="english"> 
    <meta http-equiv="Content-Style-Type" content="text/css">
    <meta http-equiv="Content-Script-Type" content="text/javascript">
    
    <title>create youtube swf</title>
    
    <style type="text/css">
    body {
        background-color:#000;
     }
    #controls {
        width:288px;
        padding:10px;
        border:3px double #c0c0c0;
        text-align:center;
        background-color:#3c3c3c;
     }
    #controls label {
        font-weight:bold;
        color:#f0f0f0; 
     }   
    #create {
        margin-right:10px;
     }
    #yt {
        display:block;
        margin:10px auto;    
        font-size:12px;
        text-align:center;
     }
    #flash {
        display:block;
        margin:20px auto 0;
     }
    </style>
    
    <script type="text/javascript">
    
    function init(){
    
       var obj,url;
       par=[];
    
    document.getElementById('clear').onclick=function() {
    if(obj) {
       document.getElementById('holder').removeChild(obj);
       obj=null;
      }
     }
    
    document.getElementById('create').onclick=function() {
    if(obj) {
       document.getElementById('holder').removeChild(obj);
       obj=null;
     }
       ref=document.getElementById('yt').value;
    if(ref=='') {
       alert('no selection has been made yet!!');
       return;
     }
      
       video='http://www.youtube.com/v/'+ref+'?fs=1&amp;hl=fi_FI&amp;rel=0'+
             '&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;hd=1&amp;border=1';
    
       parV=['movie,'+video,'allowFullScreen,true','wmode,transparent'];
    
       obj=document.createElement('object');
       obj.setAttribute('id','flash');
       obj.setAttribute('type','application/x-shockwave-flash');
       obj.setAttribute('width',660);
       obj.setAttribute('height',405);
       obj.setAttribute('data',video);
    
    for(c=0;c<parV.length;c++) {
       par[c]=document.createElement('param');
       par[c].setAttribute('name',parV[c].split(',')[0]);
       par[c].setAttribute('value',parV[c].split(',')[1]);
       obj.appendChild(par[c]);
     }
       document.getElementById('holder').appendChild(obj);
      }
     }
    
     window.addEventListener?
     window.addEventListener('load',init,false):
     window.attachEvent('onload',init);
    
    </script>
    
    </head>
    <body>
    
    <div id="controls">
    
    <label>select your video:</label>
    
    <select id="yt">
     <option value="">-- options --</option>
     <option value="WX_wRaE4Ps0">Science in the Flesh</option>
     <option value="E9zBq2zCaYw">The Love Police</option>
     <option value="G8KqdFxRjmY">Grumpy Louis</option>
    </select>
    
    <input id="create" type="button" value="create swf">
    <input id="clear" type="button" value="remove swf">
    
    </div><!-- end #controls -->
    
    <div id="holder"></div>
    
    </body>
    </html>
    
    All you need to do to add video options is take the highlighted part of the Youtube video...
    Code:
    http://www.youtube.com/watch?v=nHlJODYBLKs
    ...and add it to the HTML select options.

  4. #4
    RF2OOO's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Aug 2010
    Posts
    30

    Re: Webcasting Videos

    Niiiice Coothead, your codes are quite impressive to say the least.

    Here's the video as promised, as you can see, it does all the conversions, and supplies the flash player, XML file for controls, and some other stuff, basically you just upload those to your site, and use an embed code to have videos on your sites, completely independent of Youtube.

    (video no longer available)How to create and upload videos to your site without Youtube

    lol the funny part is that it's a video about hosting on your own sites without youtube, but the video itself was hosted on youtube. LOL.
    Last edited by HTML; 03-08-2012 at 11:55 AM.