Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Mar 2006
    Location
    london
    Posts
    3

    streaming video online and searching

    Hi

    I’m interested in finding the best way of streaming video online. As a prototype system will be developed first, i intend to use a PC to host a small sample of video material (ftp) and build a website in Dream weaver. It was first decided to use Macromedia Flash however this proved slightly problematic. The website would be the front end of the system.

    With regards to providing material online is there any way of linking these Video files (once they have been recorded, edited, and compressed) to the website allowing the user to stream the video file in an embedded player on the website whilst giving the user the open to ‘Save’ the file to there personal computer.

    And allowing them to search for video material online. Would this be possible? and if so im aware that this could be done using SQL or XML.

    Any help would be useful

  2. #2
    Administrator Dave's Avatar
    Join Date
    Sep 2004
    Location
    Te Awamutu, New Zealand
    Posts
    3,959
    Blog Entries
    79

    Re: streaming video online and searching

    You can certainly embed the video files in your web pages (see our streaming video tutorials for more info). The easiest way to allow users to save files is include a hyperlink directly to the file and tell them to right-click it.

    Are you looking for a way to automate the process so the files are embedded as soon as they are uploaded? If so you will probably need to get someone to write a script for you. There may be scripts available but I don't know of any. It could be worth a search.

    Regarding the search option, are you talking about an internal search engine which you provide for visitors, or do you want the videos to be indexed by other search engines such as Google? I'm picking you mean an internal search engine which is quite feasible. It depends on how the website is set up really. If you have a single page for each video file you just need to install a standard search engine script which indexes each page.

    If you want to have a specific database just for video files it will be a bit more tricky, but certainly do-able with SQL. One approach could be to get people to enter search-related information (title, keywords etc) into a form when they upload the file. The form would add the information to the database via a script.

    It's not an easy thing you're attempting and I don't know how far we can help, but fire away with any more questions.
    Dave Owen
    MediaCollege.com

  3. #3
    Member
    Join Date
    Mar 2006
    Location
    london
    Posts
    3

    Re: streaming video online and searching

    Hi Dave,

    Thanks for the information, it was very helpful

    I had a look at your code which is useful. I wanted to have a link on the page which then allow the embedded video to start once they clicked on the link is this possible.

    For example: click here to view video (the link would then activate the embedded video)

    Also I’m interested in running an internal search on video files, I think I may need to install a standard search engine script which indexes each page, however using a database for SQL would be the preferred option. Ive been looking at a few SQL resources however none seem to mention video filling or content management.

    I will keep you updated. Thanks again
    Last edited by step; 30th Mar 2006 at 19:32.

  4. #4

    Re: streaming video online and searching

    There are also many providers that allow you to record your video, generate the appropriate HTML code and then you simply cut and past into your website.
    For example here is a video I recorded earlier: click here

    I am not a techie by any stretch of the imagination, but this simple system has allowed me to add video to this reply.
    Note that you can brand your video and provide links to other videos, pdfs or urls etc.

    You can see more examples at http://www.videoexamples.com
    I hope that helps.

    Copperman,
    San Marcos, USA

  5. #5
    Member
    Join Date
    Mar 2006
    Location
    london
    Posts
    3

    Re: streaming video online and searching

    Hi Copperman,
    Thanks for the info, but initially i was looking into some embedding video wehreby i would have a list of possible video links and then the user would be able to click on the link and view any link in the embedded video area.
    For example:
    Click here to View Video 1
    Click here to View Video 2
    Click here to View Video 3


    <<the embedded video would>>
    <<play the video file here>>
    <<depending on the users choice>>

    thanks anyway for getting back with advice. Much Appreciated

  6. #6

    Re: streaming video online and searching

    You are very welcome.
    Remember, we do also provide seamless video instant messaging, live and on demand broadcasting (1-000's) and soon the ability to switch broadcasters (from anywhere, any time).

    Best regards,
    Copperman.

  7. #7
    what you want is very simple. you can do it 3 ways;

    BUT you can not stream trough FTP...well, you can, but
    it is not used, and it works bad. Just host the files on a
    site, it can be your pc, but you must install a server.
    there are very simple ones, I recomend abyss x1 (free)
    you just have to set the MIME types the server should
    handle. Just add in the MIME section something like;

    "Windows/video" and then add extension wmv
    don´t worry with the rigth "official" MIME types.
    it works the same like this. just keep adding them.
    like "windows stream/wmx" wmx extension and so on.

    keep in mind that a pc is slow for video. Host files in
    an outside site, it will give you much more speed.

    Now the 3 ways to stream.

    1-embedde a windows player in the web page to start
    playing your stored files when user visits your site.

    2-have links to start playing x files you have on your server,
    but this time using ASX files (or WMX for non conflict with
    other players like winamp). These links will point to the ASX/WMX
    files stored in your server, and these will open a full standard
    windows Media player. You can keep this asx/wmx in the same
    server you will host your files, or in your pc. they are 1 k size!.

    3- have a fixed media player window embedded with links
    in the same page that will open/stop diferent videos.

    codes for the 3 situations;

    1-

    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>

    <body>
    <div align="center">
    <object width="320" height="240">
    <embed src="HERE PUT THE URL OF YOUR FILE" width="320" height="240"></embed> </object>
    </div>
    </body>
    </html>


    (note- change screen size at your taste.)


    2-

    <ASX Version = "3.0">
    <entry>
    <Ref href = "HERE PUT URL OF YOUR FILE"/>
    </entry>
    </asx>

    copy this to note pad and rename extension to wmx

    this wmx will be the link people will click to see your content.

    3-

    <OBJECT id="Player" width="320" height="240"
    style="position:absolute; left:0;top:0;"
    CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
    type="application/x-oleobject">

    <PARAM NAME="URL" VALUE="video1.wmv">
    <PARAM NAME="AutoStart" VALUE="1">
    <PARAM name="uiMode" value="mini">
    <PARAM name="PlayCount" value="1">
    <param name="rate" value="1">
    <param name="balance" value="0">
    <param name="currentPosition" value="0">
    <param name="defaultFrame" value>
    <param name="currentMarker" value="0">
    <param name="invokeURLs" value="-1">
    <param name="baseURL" value>
    <param name="volume" value="50">
    <param name="mute" value="0">
    <param name="stretchToFit" value="0">
    <param name="windowlessVideo" value="-1">
    <param name="enabled" value="-1">
    <param name="enableContextMenu" value="-1">
    <param name="fullScreen" value="0">
    <param name="SAMIStyle" value>
    <param name="SAMILang" value>
    <param name="SAMIFilename" value>
    <param name="captioningID" value>
    <param name="enableErrorDialogs" value="0">
    </OBJECT>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;<p>&nbsp;<p>
    <INPUT TYPE="BUTTON" NAME="BtnPlay" VALUE="Play" OnClick="StartMeUp()">
    <INPUT TYPE="BUTTON" NAME="BtnStop" VALUE="Stop" OnClick="ShutMeDown()">

    <script language="JavaScript">
    <!--

    function SymError()
    {
    return true;
    }

    window.onerror = SymError;

    var SymRealWinOpen = window.open;

    function SymWinOpen(url, name, attributes)
    {
    return (new Object());
    }

    window.open = SymWinOpen;

    //-->
    </script>

    <SCRIPT>
    <!--

    function StartMeUp ()
    {
    Player.URL = "video1.wmv";
    }

    function ShutMeDown ()
    {
    Player.controls.stop();
    }

    -->
    </SCRIPT>

    <p>Next Video<p>
    <INPUT TYPE="BUTTON" NAME="BtnPlay0" VALUE="Play"
    OnClick="StartMeUp2()">
    <INPUT TYPE="BUTTON" NAME="BtnStop0" VALUE="Stop" OnClick="ShutMeDown()">

    <SCRIPT>
    <!--
    function StartMeUp2 ()
    {
    Player.URL = "video2.WMV";
    }

    function ShutMeDown ()
    {
    Player.controls.stop();
    }

    -->
    </SCRIPT>



    <p>Next Video<p>
    <INPUT TYPE="BUTTON" NAME="BtnPlay0" VALUE="Play"
    OnClick="StartMeUp3()">
    <INPUT TYPE="BUTTON" NAME="BtnStop0" VALUE="Stop" OnClick="ShutMeDown()">

    <SCRIPT>
    <!--
    function StartMeUp3 ()
    {
    Player.URL = "video3.avi";
    }

    function ShutMeDown ()
    {
    Player.controls.stop();
    }

    -->
    </SCRIPT>


    This last one is a bit complicated, you may want to study it a bit!.

    hoppe you can costumize your windows media the way you want!

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
  •  
Subscribe to us on YouTube