Real Media Player Pop Up
Does anybody have any idea on how to make a pop up player for playing streaming real media files like Code:
View Complete Forum Thread with Replies
Related Forum Messages:
PHP Media Player
I'm trying to have a dynamic page where a script calls a file and plays it using the correct plug in. i'll explain it better: In a mysql DB i have data concerning size, path, type (and what else..) of the playable files. Those files will have differents formats (avi, QTVR, flv, jpeg, swf,etc) and so, diffents plugin. Now i need to build a script that fetches that data from the DB and in a PHP page plays it with the correspondent plugin. Is this possible? And if so, can anyone point me out a way to start?
View Replies !
Windows Media Player And COM - How?
I need to be able to play windows media files on a server to test validity of streaming URL's and whether the file actually plays. This needs to be done serverside (so a check can be run nightly / hourly) so I thought I might use phps COM object to load the windows media player and use the exposed methods to do this. Basically all I will need to do is: check the address doesnt return a 404 etc (easy) check the videos duration. Can someone point me in the right direction to actually using the Windows Media Player with the COM object? I dont know where to find a list of available applications that can be exposed through the COM object, Ive tried a host of options to load the player: $wmp = new COM("WMPlayer.OCX"); $wmp = new COM("WMPlayer.Application"); $wmp = new COM("mplayer2.application"); $wmp = new COM("x-mplayer2.Application"); etc with no luck OR suggest an alternative idea / method? If I cant do this easily I will write a c++ console app to do it but would like to keep it within php to allow easy maintenance / upgrades later on.
View Replies !
Media Player In Browser
need of codings in PHP for. viewing windows mediaplayer videos (wmv,mp3,etc) in browser. when buffering(loading) video file i need to play small sample clips in that place.
View Replies !
Embed Windows Media Player
I would like to embed a window media player in my site using php script. <PARAM NAME="filename" VALUE="video.php?option=1"> Would appreciate if someone could help me with the video.php script.
View Replies !
Windows Media Player File
http://melody.freeprohost.com/test.php In the <PARAM NAME="fileName" VALUE="v835396.wmv">for the embedded video, I tried to use the php $_GET array method but without success. I hope to hide the source code using php script.
View Replies !
Exec To Run Media Player On Server?
Is it possible to allow a web user (intranet) to launch Media Player on the web server? I would like to use a web server as a media server and be able to access and queue mp3 and wma files via a web page. Using IIS 6 and PHP5. I have tried using the exec() command but MP does not launch and there is no error reported in the browser.
View Replies !
Window Media Player Video In Browser
Using the window media player plugin to show a video into the web. But when the page loads some time the video started downloading rather than running in media player. is this the problem of browser? or some thing else? here is my code ....
View Replies !
Use Windows Media Player To Play Videos Of My Server
I dont know if there is a html code for this, but i want to use windows media player to play videos of my server! But i want it to play couple of videos one after another, like after one is done, it moves to the next video automatically! Anyone know how or could help me?
View Replies !
Dynamically Genetrate RAM (Real Media) Text Files
I am working on a record company's site. They offer a selection of track snippets for stream/download. I would like to be able to dynamically generate the RAM (text File) to save manual input in the DB. Currently each RAM file has to be uploaded everytime a new track is added....but I'd like to have this created on the fly when a user is browsing the site. user selects track...is forwarded to the dynamically generated RAM file...which in turn selects the appropriate media. I can't think how i'd get this to work as I am trying to create a text file that is parsed rather than a peice of HTML that is read by a user. Perhaps on the server I'd have to add PHP Parsing to the RAM mime type?
View Replies !
A Real Challenge For Real PHP Programmers
<?php /* A challenge to every PHP programmer.The one who's gonna solve this problem would be deemed as PSP(PHP Supreme Programmer).The problem is this : You have to write a script that displays a list of categories and subcategorieslike this one: <select name="category"> <option value="1">Main</option> <option value="2">Main > Computers</option> <option value="4">Main > Computers > Hardware </option> <option value="8">Main > Computers > Hardware > PC</option> <option value="7">Main > Computers > Hardware > Mac</option> <option value="9">Main > Computers > Hardware > Atari</option> <option value="11">Main > Computers > Hardware > PC > History of Pc</option> <option value="">etc...</option> </select> The categories and subcategories details are stored in these two tables in a MySQL database. -categories : the categories names and ids. -cat_relations : the relations between categories.It shows which subcategory belongs to which category. The belongings between categories can go very deep and the number of categories is unlimited. This script will create the two tables and fill them with sample data. All you need to do is to change the four variables below. You can send the script back to this email : yasbergy@yahoo.com. */ //Here starts the script. Please change the values of these variables to fit your settings $user = "prospective_PSP"; $database = "db"; $server = "localhost" ; $pwd = "" ; //Connection to the database that you created mysql_connect($server,$user,$pwd) ; mysql_select_db($database); //Creation of the two tables : categories and cat_relations $categories = " CREATE TABLE `categories` (`id` INT not null AUTO_INCREMENT, `name` VARCHAR(100) not null , PRIMARY KEY (`id`), INDEX (`id`), UNIQUE (`id`)) comment = 'The categories details' "; mysql_query($categories) ; $cat_relations = "CREATE TABLE `cat_relations` (`id` INT not null AUTO_INCREMENT, `daughter_id` INT not null, `mother_id` INT not null , PRIMARY KEY (`id`), INDEX (`id`), UNIQUE (`id`)) comment = 'Which category is the daughter of which category'"; mysql_query($cat_relations) ; //Filling the two tables with sample data $cats = array('Main','Computers','Countries','Hardware','S oftware','Programming languages','Mac','PC','Atari','Winamp','History of the PC','IBM','Components','High level','USA','NYC','LA','Manhattan','India','Winzi p'); for ($i=0;$i<count($cats);$i++){ $sql = mysql_query("insert into categories (name) values('".$cats[$i]."')"); } mysql_query("insert into cat_relations (daughter_id,mother_id) values (2,1),(3,1),(4,2),(5,2),(6,2),(7,4),(8,4),(9,4),(1 1,8),(12,8),(13,8),(10,5),(20,5),(14,6),(15,3),(16 ,15),(17,15),(18,16),(19,3)"); //Now you can have a look on them through phpMyAdmin ?>
View Replies !
MP3 Player
I was just wondering if anyone could point me in the right direction. I have created a web application different to myspace but with some similar features. One of the things I would like to be able to do is for my users to be able to upload their own songs with an MP3 player and also to Upload Videos Does anyone know a script for this or where I can find a good reliable application? - Each user will login with password/username and should be able to upload music/video to their choice I would be very happy if someone could point me in the right direction
View Replies !
Media Download
I'm coding a download page, primarily digital sound, and lots of it. In regard to this i would like to hear some general rantings over which choices to make. Point of the page is to present categorized media with a short description, a streaming option and ofcourse a download option. I've been using BLOB to put the binary data into mySql, but it has come to my attention many feel this is stupid... and slow. This beeing compared to a filing directly on the webserver and using database to sort. Secondly, I have a hard time, assesing what would be easiest to maintain, administer and change.
View Replies !
Fpassthru And Mp3 Player
I've got musicplayer pointing to a php file which dumps with fpassthru and appropiate headers an mp3 file. If i point the mp3 directly i have no problems, but with the php script songs stop playing when after a while (always at the same length)... I've tried removing headers but then the file does not play at all. With other players i've experience the same cut at the same length. If i don't use the player (ie, dumping the file directly to the browser), i can hear all the song without problems. It seems as if the player only gets ok the first X bytes that got transfered. I want to have the files out of the apache root path, that's why i use the php script to dump the files. This is the file "player.php" which shows the player and dumps the file: <?php session_start(); function filesend($filename,$contenttype,$path,$dispo="inline") { header("Pragma: "); header("Cache-Control: "); header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); header("Content-Disposition: $dispo; filename=$filename"); header("Content-Description: $filename"); header("Content-Type: $contenttype"); header("Content-Length: ".filesize($path)); header("Connection: close"); if ($fp=fopen($path,"rb")) { fpassthru($fp); fclose($fp); } } if (isset($_GET["path"])) { $_SESSION["path"]=$_GET["path"]; ?> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="400" height="15" id="xspf_player" align="middle"> <param name="allowScriptAccess" value="sameDomain"/> <param name="movie" value="/js/xspf/xspf_player_slim.swf"/> <param name="quality" value="high"/> <param name="bgcolor" value="#e6e6e6"/> <embed src="/js/xspf/xspf_player_slim.swf?song_url=player.php&song_title=<?=basename($_SESSION["path"])?>" quality="high" bgcolor="#e6e6e6" width="400" height="15" name="xspf_player" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> <?php } else { filesend(basename($_SESSION["path"]),"audio/mpeg",$_SESSION["path"]); } ?>
View Replies !
Build A Mp3 Player
I'm trying to build a mp3 player, right now I got a mysql with artist and another one linking to their music, but I been using EMBED because I can put a play list of their song, the only problem with this I'm trying to make my website XHTML 1.1 web standard and that's the only thing giving me issues. in short how can I make a play list with the OBJECT and php any one know of a good tutorial.
View Replies !
Music Player
I'm looking to create one of those nifty music players where there are links on a page and you can click one and it will play that audio file on the page in the player...I dont know where to start with this.
View Replies !
Flash Player
Is there any way to check whether Flash Player is instaLLed in cLient's browser using the PHP code?? So that I can launch either flash banner of GIF banner. That wont hurt my visitors saying to install flash player.
View Replies !
PHP In Windows Media ASX File
What I am trying to do is get my Windows Media Player embedded pages to point to one .asx file instead of having to manage the stream links of some 30 odd pages individually. My question is how would I get the html page to "submit" the info to the asx file? Is there a way for the page to automatically submit the stream info to the ASX file using the POST method?
View Replies !
How To Upload Media File?
upload media file. I had tried for that but getting following result after uploading wmv file in $_FILE variable. [MediaLink1] => Array ( [name] => bada_gosht.wmv [type] => [tmp_name] => [error] => 1 [size] => 0 )
View Replies !
CMS With Media Content On Another Server
so I'm the author of a pretty big CMS system (big as in huge, not market-share big) and I've been thinking about a problem for a few weeks here on media management. The CMS accomodates both images/media uploaded by admins, but also by members (in forum and blogs and such). Nothing strange about that at all. But now I'm faced with the need of moving - physically - all my media to a separate server, for distributed loads. I.e. when deploying the CMS you can either set localhost or media.exampel.com as your media repository. This makes for two problems - as far as I can think of: 1. Upload Upon surfing to www.example.com, and uploading an image - the image has to be moved to media.example.com after it has been uploaded to the first server. Right? The media has to be moved first from the client, to the www server and then from the www server to the media server. As far as I can tell, there is no other way to do this. I have several functions to handle uploaded files, the most important one is: move_file($original_path, $to_dir); And to handle this, this function has to know when media server isn't "localhost" and facilitate the transfer to the other server, maybe by a second POST to media.example.com? 2. <imgtags The next problem is when the PHP script should output an image that is physically located on another machine. Today, I use imagemagick to convert it to the wanted size and geometry and saves it in a cache directory and then outputs a <imgtag that points to this directory. With the file on another server, the PHP script on the www server can only output something along the lines of: <img src='http://media.example.com/img.php?path=/path/to/file.jpg'> For example. And img.php on media.example.com will do all the conversions needed (in accordance to whatever size or geometry specifications sent along in the IMG tag). But, this isn't valid HTML. the <imgtag should always contain width/height parameters or it will not validate. Not that my code validates perfectly anyway, but I rather have this information since it speeds up parsing by the browser as well. Is there anyone out there that has done something like this before and knows a good way to get something that isn't half-bad?
View Replies !
Edting Media Files
I m developing a website which needs editing of sound .mp3,.avi etc. By editing I mean,cutting and saving it.Can any one tell me wat are the possibilities and if there are any media file editors avl.Your help will be appreciated.
View Replies !
How Would I Read The Media:title Tag?
The DOM is easy enough to use if you have xml for example: <tag> <tag2>info</tag2> <tag3>Info</tag3> </tag> etc But... what if we have something like this: <item> <media:title>Title Here</title> </item> How would i read the media:title tag? using getElementsByTagName ( "media:title" ); does nothing!
View Replies !
Prevent Media Link
I have a downloads page that lists media files(.mp3, .mov). The problem is that when the user clicks the link, the file opens inside their media player. How can I let the user see the "save as" dialog box instead of immediately playing the file.
View Replies !
Multi Player Functionality
I am trying to make an RPG using PHP and MySQL. Since RPGs are multiplayer games I am trying to add the multiplayer functionality to the game but I don't know how to do that in PHP. Does anyone know how to add multiplayer functionality using PHP?
View Replies !
Avi, Mpeg Player On My Site
Could you give me the page with free movie player, which I could implement on my site? The player should be similar to the youtube.com players. I would like to upload photos and movies and if it would be a photo it should be resize to small (after clicking it should be enlarged) and shown on the page, and if it would be a movie it should be shown in this movie player. I would like this player to be free and out of charge Player should work with such movies extensions as: - avi - mpeg - wmv and maybe if it is possible:
View Replies !
PHP And Flash Player? Frames?
I have a website where there is one main index.php page, and the content of the page changes via a menubar basically by checking $_REQUEST to see what page we should display (ie, "index.php?page=main" or "index.php?page=contact"), then an if statement REQUIRES the appropriate content in the middle of the page where the content changes. The problem I'm having is that I have a simple MP3 flash player that I need to play throughout the whole site consistently. But when the user clicks a menubar button, because it reloads the index.php, it also reloads the flash player and so the song jumps back to the beginning. I'm trying to figure out a way to prevent this flash player from reloading each time the page is refreshed with new content. Is there any way to do this, other than putting the flashplayer in a separate frame? That's the only solution I've been able to think of and I want to avoid frames.
View Replies !
Is It Possible To Add Hyperlink To Flash Mp3 Player
is it possible to add a hyperlink to flash mp3 player? I not referring to embe link inside flash mp3 player, click <a href= link <script type="text/javascript"> var s2 = new SWFObject("mp3player.swf", "playlist", "240", "135", "7"); s2.addVariable("file","playlist.mp3"); s2.addVariable("backcolor","0x00000"); s2.addVariable("frontcolor","0xEECCDD"); s2.addVariable("lightcolor","0xCC0066"); s2.addVariable("displayheight","0"); s2.write("player2"); </script>
View Replies !
Thumbs Of Plugin Based Media?
just doing some thinking for some work i have in mind which involves using the image functions in php.bascially what i want to know is - is it possible to make thumbs of plugin based media in a site? for example a thumb snapshot of a flash, or vrml or whatever?? this is just research i am doing so any ideas thown around would be greatly appreciated even if you're not sure if the ideas work or not!!
View Replies !
Transparenty Serving Media Stream
i have a problem - i need to hide address of broadcasting computer in internet, problem looks like this - i hava a computer with windows media encoder, this computer is broadcasting online stream video, now i need to share with this video on internet without windows media server, i have idea that i can open this stream with php and send it forward - but how to do it ?? it is posible to that ?? maybe some other solutions for broadcasting live video without costs?? -broadcasting server must be on windows ;-(
View Replies !
Flash Player Installed On Client
I have a html page which had a flash file. In the client machine, if Flash player is not installed or not enabled then i have to give an alternate gif image. How to detect, whether Flash player installed in client machine or not. Using PHP or Javascript.
View Replies !
Getting The Size Of A Quicktime Movie Or Other Media Files
I'm writing a php based fileserver/ftp app and I need to be able to display quicktime (and eventually other media) files via the object/embed tags. I've got everything working except for the sizing. I'd like to avoid asking users to specify the size of the file upon upload, if possible. Also, making the size very large to fit anything inside causes major layout problems, so that is not an option. So, I was wondering if anyone knew of a way to get this info from a file. Is there something analogous to getimagesize() for quicktime? I couldn't find anything in the manual. I was also thinking of maybe using a graphics library to export a single frame of the movie as a jpg and then get the size of that. I haven't looked into this yet to see if this is possible. Are there any other ways to deal with this issue?
View Replies !
HTML Code To Autogenerate Different Types Of Media?
Does anyone have or know of any code that, given a path to a file (will be a file and not a directory), can auto-generate HTMl code to accurately display that file in a browser? The types of files will consist of images, audio files, video files, and Flash files. I'm using PHP 4.4.4. If I have to write some giant switch statement, so be it, just thought someone mighit have a better idea or one already pre-built.
View Replies !
Read And Return The Image (or Other Media File) To Downloader
I have a simple script to read and return the image (or other media file) to downloader like this: Code: <?php header("Content-type: image/jpeg"); header("Content-Disposition: attachment; filename=imageName.jpg"); readfile("/Path/to/my/mediaFile/imageName.jpg"); ?> For this simple script I don't know that the downloader is complete downloaded my file or not.
View Replies !
Foreach - Print Out Rushing Yards For Each Week A Player Played
I'm trying to print out rushing yards for each week a player played: This is what I have, but it only echoes "1" for $wk. $rushyard shows all unique values. $rushyard = $data; $newweek = array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17); foreach ($newweek as $wk){ foreach ($rushyard as $f) { Â Â echo "<tr><td>$wk</td><td>$f</td></tr>"; } } It currently outputs this: PHP Code: 1Â Â Â Â 108 1Â Â Â Â 51 1Â Â Â Â 58 1Â Â Â Â 0 1Â Â Â Â 102 1Â Â Â Â 77 1Â Â Â Â 101 1Â Â Â Â 86 1Â Â Â Â 48 1Â Â Â Â 94 etc.
View Replies !
MySQL Query - Return Where A Particular Player Is In That List Ordered By High Score.
I have a table that holds players scores for a game im trying to make, what i want to do is return where a particular player is in that list ordered by high score. I know that i could work this out with PHP - but i think that i would need to return the whole player scores table which given there could be a couple of thousand players of this thing (ever the optimist) seems rather drastic given that i just want one tiny number. Code:
View Replies !
Open Source LAMP PHP Jobs At Media Startup/Film/Books/Photography/Music
The venture is best described at http://22surf.com http://authena.org http://vvgallery.org If you're interested in finding out more, please send your resume to mcgucken@jollyroger.com . Last summer I presented a paper at the OSCOM Open Source CMS conference entitled "Authena: Business Models Based on Open Source CMS & DRM." http://authena.org http://oscom.org/Conferences/Cambri...en_authena.html A rough "open source" business plan may be sampled & downloaded from: http://22surf.com If anyone would like to see the more complete plan, please let me know! And feel free to forward this around. Basically with Moore's Law driving down the costs of bandwidth, chips, and drives, and with the Open Source movement decreasing the costs of content management software, content sellers including record labels, movie studios, publishers, and creative individuals have lot to gain by leveraging Open Source running upon Lintel architectures. Google recently purchased blogger. Blogger derives its value from peoples' passions. Think about the sum total of passion represented within all the Open Source CMS out there. And as Moore's law marches on, making audio and video-on-demand a reality, and Metcalfe's Law brings us better OSCMS each and every day, think about where all the passion will be expressed in a few years. Could Open Source CMS be the killer-app of the Open Source world? The way I see it, as more bands, writers, artists, photographers, and teachers use postnuke, gallery, xoops, envolution, cafelog, and oscommerce to join the semantic web, more and more servers will run Linux. Couple this with the open RDF/RSS1.0 standards and the Dublin Core and CC Licenses, and suddenly it seems the Open Source world has a good chance of establishling the common universal standards for archiving content and managing digital rights. This will grant Creators a great freedom to define how their content is used, in line with the Consitution's original spirit. Revenue streams include: 1) sell keyword advertising throughout free OSCMS hosting services (blogs, galleries, etc.), 2) sell advanced hosting options/extra disk space, to individual creators & contnet conglomerates 3) charge 5% on content marketplace transactions 4) charge 5% on Open Source Arts services marketplace transactions (freelance site for open source CMS programmers) 5) manage/host media assets of large businesses (record labels/movie studios/etc.), 6) tie it all in to an open source friendster/FOAF (friend-of-a-friend) network
View Replies !
NovelSpace Media, LLC Announces The Launch Of Their New Online Bookstore And Web Portal Devoted To Developers And Programmers.
NovelSpace Media, LLC has announced the launch of its new online bookstore, NovelSpace.com. Located at http://www.novelspace.com, it features a wide and varied selection of books for computer aficionados, developers, software engineers, and programmers. In addition to low prices and shipping fees, NovelSpace.com boasts an easily navigated interface along with quick checkout and simple account management. Proceeds from each purchase are donated in support of various open source projects. NovelSpace Media is also inaugurating Developer Haven, the first in a series of web portals to be developed by the company. Designed as an online resource for programmers and software developers, Developer Haven features a section devoted to industry news and a directory of links to websites with code samples, tutorials, components, and software packages. Users can also test-drive a beta version of DH Search, an internet search engine tasked exclusively to researching material related to programming and software development. Developer Haven can be accessed from NovelSpace.com, or on its own at http://developerhaven.novelspace.com. About NovelSpace Media, LLC NovelSpace Media is a development firm currently specializing in e-commerce and portal websites. The driving goal of the company is to offer customers easy access to books and resources at competitive prices, as well as building thriving online communities around rich content offered through topic specific web-portals.
View Replies !
Getting The REAL Directory?
Is there any way to get the directory/path of the file running the script, not the directory you're inside (Via dir())? I'm allowing the user to navigate through directories, and that part works great - but whenever I attempt to used getcwd(), it returns the directory the user is in - not the directory of the php file - is there any way to get the directory of the .php file the user is using?
View Replies !
Real Estate MLS/IDX
I am trying to program an MLS/IDX search feature to be integrated into a real estate website. This progrom will allow MLS/IDX searching/browsing (searching by MLS #, house variables, etc) and browsing by property location, etc. I have come accross RETS and have tried to go about it, but wow, maybe MLS/IDX is just some mythical database that doesn't exist? If anyone can help me out here. show some code, point me to a resource, tutorial, something that would be some assistance, I would bow down to them, and mail them one, yes, one ice cold root beer.
View Replies !
Resolve Real IP
I can get the apparent IP from $_SERVER['REMOTE_ADDR']; . However, how can I find the real IP if the user is behind a proxy? I know it must be possible as some "whatismyip" sites do it.
View Replies !
Mysql Real
I found this which I think calls for an indepth brain storming. A very good reading [edited by: eelixduppy at 1:06 pm (utc) on Sep. 12, 2007] [edit reason] fixed typo as per request [/edit]
View Replies !
Real-time Output?
I'm a relative PHP newbie, so I apologize if this is a simple question. Anyway, here's my problem. I'm using a PHP script to pre-render a bunchload of insert files for an HTML page. Right now there's about 1,600, but that number could get much, much higher when the site goes live. I'll only need to re-render the whole batch once or twice a year (if that) but it's still something I'd like to be able to do in case I have to move the site to a different server, or there's a hard drive crash or etc. Basically what the script does is grab a whole bunch of information from a database and write the insert file. It does this for every single one. The problem of course, is that PHP by default does all this server-side, and then sends it to the browser. Because this process takes like ten or twenty minutes to do, the browser times out long before it's finished. Is there a way to get progressive output with PHP? Or do I need to re-do this in another language like Perl?
View Replies !
|