How to embed WMV or other video files to HTML web page and play it automatically?

Posted by Admin L in Web Programming & Resources on 29-08-2011.

Author: Nosa Lee
Original Address: https://www.seeksunslowly.com/web-page-embed-wmv-video
To reprint this article, please indicate the source, thank you.
_____________________________________

Thinking: use Windows Media Player component, because it is available in every Windows version.
Cod[……]

Read More…

在 HTML 网页中嵌入并自动播放 WMV 及其他视频的方法

Posted by Admin L in Web Programming & Resources on 29-08-2011.

作者:牧山道人
原文地址:https://www.seeksunslowly.com/web-page-embed-wmv-video-sc
转载请注明出处,谢谢。
_____________________________________

思路:使用各版 Windows 系统均有自带的 Windows Media Player 组件。
代码:

注意:为了简化代码,笔者为您省掉了许多不必要的参数,使用时您只须修改 src、width、height、autostart 属性以分别控制视频文件路径、播放器宽度、高度、是否自动播放即可。[……]

Read More…

JavaScript Imitates Animation (Plays Pictures in Circulating Mode)

Posted by Admin L in Web Programming & Resources on 29-08-2011.

Author: Nosa Lee
Original Address: https://www.seeksunslowly.com/js-play-pictures-animation
To reprint this article, please indicate the source, thank you.
_____________________________________

Background
Cannot do Flash, cannot do GIF, or can do GIF but do not like its definition and file si[……]

Read More…

JavaScript 实现仿动画(循环播放图片)

Posted by Admin L in Web Programming & Resources on 29-08-2011.

作者:牧山道人
原文地址:https://www.seeksunslowly.com/js-play-pictures-animation-sc
转载请注明出处,谢谢。
_____________________________________

背景
不会做 Flash,不会做 GIF,或会做 GIF 但不满足于它的清晰度及文件尺寸(太大)。
这时,可以考虑一个简单的动画实现方案——使用 JavaScript 循环播放你准备好的图片,借以变向实现动画功能。

废话少说,直接看代码:
1、图片 HTML 代码
[cc lang=”html”]

[/cc][……]

Read More…

How to embed Flash swf file in your web page, and let it is compatible with IE, Firefox and Chrome?

Posted by Admin L in Web Programming & Resources on 25-08-2011.

Author: Nosa Lee
Original Address: https://www.seeksunslowly.com/flash-swf-ie-firefox-chrome-compatible
To reprint this article, please indicate the source, thank you.
_____________________________________

There are many methods about this, I do not want to mislead you, just tell you the eas[……]

Read More…

如何将 Flash swf 文件嵌入到网页,并兼容于 IE、Firefox 及 Chrome?

Posted by Admin L in Web Programming & Resources on 25-08-2011.

作者:牧山道人
原文地址:https://www.seeksunslowly.com/flash-swf-ie-firefox-chrome-compatible-sc
转载请注明出处,谢谢。
_____________________________________

关于这个,网上有很多方法,不想误导大家,笔者直接给出经过实践得出的最简单的一种。
关于兼容于 IE、Firefox、Chrome,其实主要想说明:若用法不当, IE 可能会弹阻止框,需要用户选择允许执行才能播放动画。

以下是代码,放到你网页上适当的位置即可:
[cc lang=”html”][……]

Read More…