通过JavaScript调用H.264视频编解码器 [英] Call H.264 video codec through JavaScript

查看:109
本文介绍了通过JavaScript调用H.264视频编解码器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows 7具有内置的编解码器,可播放h.264标准视频.我想通过JavaScript来为我的应用程序开发之一调用该编解码器.有可能这样做吗?

Windows 7 has a built in codec to play h.264 standard videos. I want to call that codec through JavaScript for one of my application development. Is it possible to do that?

Thanks.

推荐答案

据我所知,编写ActiveX控件将授予您对Win7系统文件的完全访问权限.
As per my knowledge, writing an ActiveX control would grant you complete access to Win7 system files.


您即使在C ++中也不要调用编解码器".您播放视频,并根据需要使用编解码器.使用Windows Media Player作为控件,您会发现它可以正常播放文件.当然,您编写只在Weven上运行的网站有点奇怪.
You don''t ''call a codec'' not even in C++. You play a video and the codec gets used as needed. Use Windows Media Player as a control, and you''ll find that it will play the files fine. Of course, it''s a bit bizarre that you''d write a website that only works on Weven.


这篇关于通过JavaScript调用H.264视频编解码器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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