asp.net中的google mp3播放器 [英] google mp3 player in asp.net

查看:98
本文介绍了asp.net中的google mp3播放器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Friends,



我想在网页上播放mp3文件。为此我正在使用以下代码



< embed type =application / x-shockwave-flashsrc =http://www.google.com/reader/ui/3523697345-audio- player.swfquality =bestflashvars =我在这里写的网址是width =500height =27>< / embed> 



显示黑色空白区域。



当我更改src属性时

 src =http://www.google.com/reader/ui/3523697345-audio-player.mp3



玩家出现并且没有播放文件。







请指导我。



谢谢

Manish Namdev

解决方案

尝试设置自动播放= 1。如下所示。



 <   embed     type   =   application / x-shockwave-flash   自动播放  =  1    src   =  http://www.google。 com / reader / ui / 3523697345-audio-player.swf    quality   =  best    flashvars   = 我在这里写的url    width   =  500    height   =  27 >  <   / embed  >  


在src的末尾添加音频文件的URL
这样的




src =http ://www.google.com/reader/ui/3523697345-audio-player.swf audioUrl = HTTP://mysite/songs/new.mp3

Hello Friends,

I want to play mp3 file on a web page.For this I''m using the below code

<embed type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3523697345-audio-player.swf" quality="best" flashvars="I''m writing here the url" width="500" height="27"></embed>    


This shows the black empty area.

And when I change the src property

src="http://www.google.com/reader/ui/3523697345-audio-player.mp3"


The player appears and doesn''t play the file.



Guide me please.

Thanks
Manish Namdev

解决方案

Try by setting autoplay="1". Something as below.

<embed type="application/x-shockwave-flash" autoplay="1" src="http://www.google.com/reader/ui/3523697345-audio-player.swf" quality="best" flashvars="I'm writing here the url" width="500" height="27"></embed> 


add url of audio file at the end of src
like this

src="http://www.google.com/reader/ui/3523697345-audio-player.swf?audioUrl=http://mysite/songs/new.mp3


这篇关于asp.net中的google mp3播放器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆