如何在我自己的视频播放器中打开Webbrowser中的MP4文件而不是内置媒体播放器 [英] How to open MP4 file in Webbrowser in my own video player instead of Built in Media player

查看:924
本文介绍了如何在我自己的视频播放器中打开Webbrowser中的MP4文件而不是内置媒体播放器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows Phone中拥有自己的媒体播放器。现在我只想增强这个媒体播放器的功能。 


所以我在其中添加了一个webbrowser组件。以下是我正在遵循的步骤


1。导航到包含一些视频文件的网页。


2。点击视频文件。


3。视频文件应该在我的视频播放器中打开。 (现在它在内置的媒体播放器中开放)。


(如果我点击网页上的视频文件可以获得视频文件的链接,那对我来说是好的)


我该怎么办?请指教!




Satya R Biswal

解决方案

你不能 您无法注册mp4文件扩展名,因为它是为内置应用程序保留的:

http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj207065(v=vs.105).aspx#BKMK_Reservedfiletypes



Hi , I have my own media player in windows Phone. Now i just want to enhance the functionality of this media player. 

So I have added one webbrowser component into it. Below are the steps Which i am following

1. Navigate to a Webpage which has some video files .

2. Click on the video file .

3. The video file should open in my Video player. (Now its opening in inbuilt Media player).

(If i can have the link of the video file upon clicking the Video file on webpage that would be ok for me )

How can i do it ? Please advice !


Satya R Biswal

解决方案

You cannot.  You cannot register the mp4 file extension because it is reserved for Built-in apps: http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj207065(v=vs.105).aspx#BKMK_Reservedfiletypes


这篇关于如何在我自己的视频播放器中打开Webbrowser中的MP4文件而不是内置媒体播放器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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