简体   繁体   English

在新窗口而不是新标签页中打开mp3播放器?

[英]opening mp3 player in new window rather than new tab?

I've embedded the Yahoo! 我已经嵌入了Yahoo! player into my website to play MP3's that my users upload, but the issue I am having is whenever I try to open in a new window it always opens in a new tab. 播放器进入我的网站以播放用户上传的MP3,但是我遇到的问题是,无论何时尝试在新窗口中打开,它总是在新选项卡中打开。 I've searched this site and google for a good 10 minutes and all i'm seeing is "you can't make it happen" I know that isn't true because I use plenty of sites that manage to open up new windows. 我已经在这个网站和Google上搜索了10分钟,而我所看到的只是“您无法实现”,我知道那不是真的,因为我使用了大量设法打开新窗口的网站。 If anyone knows how to do this it would be greatly appreciated. 如果有人知道该怎么做,将不胜感激。

I assume you're using this method form their site, meaning you have html links to the content you want to play. 我假设您正在他们的网站上使用此方法 ,这意味着您具有指向要播放的内容的html链接。 How about using the target="_blank" property in your html 如何在HTML中使用target =“ _ blank”属性

<a href="http://www.mymusic.com/mysong.mp3" target="_blank">Song</a>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM