473,386 Members | 1,598 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

gif files open in media player

exoskeleton
104 100+
hi dear experts.. i know you are aware of video once clicked it will open in media player...but how about gif files? im developing a site in php...when gif files were clicked, it will open in media player!

please help me...i dont know what to do!
Apr 20 '07 #1
8 3645
tolkienarda
316 100+
hmm i don't know if i have an answer but i am an expert at finding non standard ways of doing things. first i have a few questions
first is the gif animated
second are you trying for win-blows media player or for somthing like real
third would it be possible to save one copy of your gif as a .mpeg and have the gif that a person clicks on link to a media player file

eric
Apr 20 '07 #2
exoskeleton
104 100+
hmm i don't know if i have an answer but i am an expert at finding non standard ways of doing things. first i have a few questions
first is the gif animated
second are you trying for win-blows media player or for somthing like real
third would it be possible to save one copy of your gif as a .mpeg and have the gif that a person clicks on link to a media player file

eric
hi sir eric...answers are as follows:

1) yes, the gif is animated
2) just windows media player...not real or others
3) not necessary to save file, just viewing in media player

...hope it will enlighten your mind sir please help ...thank you
Apr 21 '07 #3
tolkienarda
316 100+
hmm from what i know of win-blows media player it can't open a .gif file so getting one to play would be next to impossible. so some other options you can look into are changing the file type of your gif to somthing WMP compatible, if it is mission critical that the file is .gif then you can do one of two things.

first take the first frame of the animated gif and have it just be a still image gif, have an onclick attribute in the <img ... > tag that will change the still gif to the animated gif. this would be done using javascript and i think i have a script that would do it but it will take some modification.

second if it is mission critical for it to be in, or atleast appear to be in a WMP box then you could just take a picture of the WMP box and add it as a background to your animated gif and use html <area> tag. i think that changing the file type would be easier than this though.

eric
Apr 21 '07 #4
exoskeleton
104 100+
hmm from what i know of win-blows media player it can't open a .gif file so getting one to play would be next to impossible. so some other options you can look into are changing the file type of your gif to somthing WMP compatible, if it is mission critical that the file is .gif then you can do one of two things.

first take the first frame of the animated gif and have it just be a still image gif, have an onclick attribute in the <img ... > tag that will change the still gif to the animated gif. this would be done using javascript and i think i have a script that would do it but it will take some modification.

second if it is mission critical for it to be in, or atleast appear to be in a WMP box then you could just take a picture of the WMP box and add it as a background to your animated gif and use html <area> tag. i think that changing the file type would be easier than this though.

eric
what's a winblows media player sir eric? media player that will open and play the file is the microsoft media player...

ahmmm...sorry i know nothing about winblows! :)
Apr 23 '07 #5
exoskeleton
104 100+
i just wanna up up up this topic..dear experts please help anyone! :(
what is the command to open gif files to windows media player in php script?
Apr 24 '07 #6
can anyone help me to get relief from my prob?....it was the topic mime type...just before this topic...plz help me frndz...its realy urgent....
Apr 25 '07 #7
Motoma
3,237 Expert 2GB
I am sorry, you haven't been entirely clear. Is this happening when you don't want it to, or is it not happening and you want it to?

Rather, is this a feature that you want to disable, or is it a feature you want your site to provide?
Apr 25 '07 #8
tolkienarda
316 100+
what's a winblows media player sir eric? media player that will open and play the file is the microsoft media player...

ahmmm...sorry i know nothing about winblows! :)
um sorry about the winblows it is just a degrotary term for windows or microsoft i also call micorsoft microsloth and explorer exploder sorry about the confusion i just can't stand microsloth products.
Apr 25 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: MattC | last post by:
Hi, I have a directory of movie files that I want users to be able to view and play in an Embedded media player. However I only want them to be able to access the movies from my asp.net page. ...
2
by: Vanga Sasidhar | last post by:
Already posted the same message but the date and time of my machine was set back. and it was listed under the old date. Thats why I am posting the same message again. Please accept this. ...
0
by: Vanga Sasidhar | last post by:
Hi All, I am developing a program in Visual Basic .NET 2002. There are some videos in AVI format. For the protection of these AVI files i encrypted my files with the use of DES algorithm in the...
0
by: Big D | last post by:
Hey there. I'd like to concatenate multiple wav files together. I've got an almost completely working system for it, actually... I'm using AudioSystem.write and my own subclass of...
13
by: anil.rita | last post by:
When the user chooses an AV file to play, based upon the type of file, I want to use the default installed media player to play it. I am wondering if this is a good way - any alternatives,...
0
swatmajor1
by: swatmajor1 | last post by:
HI there, In the media player I have been making, I have created a auto load playlist, which then loades the next media file into the media player, but it wont play automatically, it just says...
3
by: sean.j.gage | last post by:
I'm attempting to download a windows media video file from a remote server and I would like to start playing it as soon as it starts downloading. Is there some special way to save the file that...
10
by: kimiraikkonen | last post by:
Hi, I have an app which has a listbox and when i double click an associated fileS, i want their paths to be added into listbox in my application. This code works good when i try to open a...
1
by: =?Utf-8?B?Y2h1ZA==?= | last post by:
I am using vista and every song that i download or rip into my media player becomes corrupt. at the last 20 second mark of every song it skips. it only happens if i play the song using the media...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.