|
Hi All,
could you please give me the code for embeding real media player in firefox?
I have the one for Iexplorer.
It looks like this for internet Explorer :
<object id="realPlug1" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="545" height="400">
<param name="TYPE" value="audio/x-pn-realaudio-plugin" />
<param name="CONTROLS" value="ImageWindow" />
<param name="CONSOLE" value="video1" />
<param name="SRC" value="rtsp://80.194.35.48/ramgen/broadcast/livestream.ra" />
<param name="AUTOSTART" value="TRUE" />
<embed type="audio/x-pn-realaudio-plugin" controls="ImageWindow" console="video1"
src="rtsp://80.09.09.12/ramgen/broadcast/livestream.ra"
width="240"
height="180"
autostart="true" />
I need to make sure it will also play if the user opens it from other Browsers.
Regards
kibrom
|
|
|
|
|
What wrong with this code? It should be working on Firefox too.. Have you installed the realplayer plugin for Firefox???
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
Thanks very much.The problem i have is the Size of the vidoe clips fits in to my tag when i browse it from Internet Explorer.
However, when i see it from FireFox the size of the video become very small and does not fit the margines on my Html page.
How do you solve this problem?
Thank you
|
|
|
|
|
kibromg wrote: <object id="realPlug1" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="545" height="400">
<embed type="audio/x-pn-realaudio-plugin" controls="ImageWindow" console="video1"
src="rtsp://80.09.09.12/ramgen/broadcast/livestream.ra"
width="240"
height="180"
autostart=true>
</embed>
</object>
Why does the size (width="545" height="400") of object and the size (width="240" height="180") of embedded object different?
What about if we set the same width and height??
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
I want to bind meter cube per hour(m3/hr)in Combo Box....how to write as m power3 in html....Any idea will be helpful.
Thanks in Advance...
|
|
|
|
|
Hi
here is useful link for you. It lists how to show things like power of 3 (cubed) or power of 2 (squared) etc.
http://platon.sk/article.php?23
HTML for m to power of three would be: m³
Hydraman says "Make mine a water"
|
|
|
|
|
Phil Osborne wrote: m³
It's not working inside the combo box...Any idea...
Thanks in Advance...
|
|
|
|
|
Hi
You could to go to the aspx file and add a ListItem as below or add it as code in the .cs or.vb files :
<asp:DropDownList ID="DropDownList1" runat="server" Width="48px">
<asp:ListItem Value="cubed">m ³</asp:ListItem>
</asp:DropDownList>
Hydraman says "Make mine a water"
|
|
|
|
|
Tanx for ur reply...I tried it already but when i give AutoPostBack="True" it's not working....Actually i want to put meter cube per hour(m ³/hr) in session...Any Suggestions will be helpful...
Thanks in Advance...
|
|
|
|
|
Sorry Kasi
I have given as much information as I can on this one.
It does work on a postback for me and my colleagues so I am at a loss as to what else is happening with your code.
I can only suggest you try Debugging and Trace to see the errors.
Hydraman says "Make mine a water"
|
|
|
|
|
Hose him down Hydraman.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hello All...
i have two tables where i have 3 div in 1 one table and 3 Divs in other table.
i want that i can drag any DIV of 1st tables DIV to 2nd TABLES Div and can paste on it..
i went to several solutions but they are providing solutions for HardCord Named DIVS not for Runtime Created DIVs.
pls help me....
Jay R.Bhagatwala
|
|
|
|
|
I suggest you to check-out the widget plug-in http://wordpress.org/extend/plugins/widgets/ for Wordpress blog.. you can find the JS code from PHP file..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
hi frns
i want to copy a file from my disk and rename it with other name and save to my disk i used this snippet its working fine. But, for this to happen i have to write the fullname of the file with extension in the textboxes i provided
but i want to ignore the extension can anybody send me some code to complete this task
FileInfo thefile = new FileInfo(MapPath("RtfFilesPath") + "\\" + txtOriginalName.Text);
if (thefile.Exists)
{
File.Copy(MapPath("RtfFilesPath") + "\\" + txtOriginalName.Text, MapPath("RtfFilesPath") + "\\" + txtFilename.Text);
}
regards
-- modified at 6:31 Monday 12th November, 2007
|
|
|
|
|
Append the file extension to the text box value.
MapPath("RtfFilesPath") + "\\" + txtFilename.Text + FileInfo.Extension
Regards - J O H N -
|
|
|
|
|
CS0120: An object reference is required for the nonstatic field, method, or property 'System.IO.FileSystemInfo.Extension.get'
Line 34: try
Line 35: {
Line 36: FileInfo thefile = new FileInfo(MapPath("RtfFilesPath") + "\\voice\\" + txtOriginalName.Text +FileInfo.Extension);
Line 37: if (thefile.Exists)
Line 38: {
iam getting this error it is not accepting extension key word
|
|
|
|
|
I guess you are trying to access the Extension property for the source file Name of the FileInfo Object before loading the file. the below given code works fine in my system without giving the extension of the new name. When you give the original file name, you need to specify the extension at the input stage. If the file-type is fixed then you hard-code it or pass the extension as a parameter.
FileInfo TheFile =
new FileInfo(Server.MapPath(".") + "\\" + txtOldFile.Text);
if (TheFile.Exists) {
File.Copy(MapPath(".") + "\\" + txtOldFile.Text,
MapPath(".") + "\\" + txtNewFile.Text + TheFile.Extension);
}
else {
throw new FileNotFoundException();
}
Regards - J O H N -
|
|
|
|
|
thanks for u r reply sir its working but some times the extensions will be changing its a rare case
anyway thanks for ur replies
regards
sunilwise
|
|
|
|
|
You're Welcome.
Regards - J O H N -
|
|
|
|
|
Asalam-O-Alikum!
how to add and modify any connectionstring in web.config
B asharatA li
Internee
METESYS Lahore
Pakistan
|
|
|
|
|
|
thx john
but i want to add aur modify connection string at runtime.
B asharatA li
Internee
METESYS Lahore
Pakistan
|
|
|
|
|
Do you mean you want to programmatically add/modify the connection string stored in the web.config file?
Regards - J O H N -
|
|
|
|
|
yes
i want to programmatically add/modify the connection string stored in the web.config file
B asharatA li
Internee
METESYS Lahore
Pakistan
|
|
|
|
|
Create a XMLDocument Object and Load the XMLFile (web.config) into it, then Navigate through the Nodes and find the attribute of the corressponding Connection string Node in the config file and modify the inner XML of the attribute.
Regards - J O H N -
|
|
|
|