当前位置:  软件>JavaScript软件

jQuery + Adobe Flash integration plugin

    来源:    发布时间:2015-01-14

    本文导语:  Embedding Flash with flashembed.js flashembed is a javascript tool that you can use to embed Flash objects to you website. There are other tools for embedding flash objects but none of them offers the same flexibility and ease of use as this one. Benefits Easy to use. Other Flash embedding tools...

Embedding Flash with flashembed.js

flashembed is a javascript tool that you can use to embed Flash objects to you website. There are other tools for embedding flash objects but none of them offers the same flexibility and ease of use as this one.

Benefits
  • Easy to use. Other Flash embedding tools can be hard to understand and use. You need to read loads of documentation for achieving a very simple task. This tool takes only 1 to 3 arguments and thats it.
  • JSON configuration. Today many flash objects are configured with lot's of parameters and many of those parameters are complex JSON objects. This plugin enables to supply JSON configurations directly to your Flash object. You don't need to hazzle with complex strings and character escapes. In fact this was the main reason for developing this plugin.
  • Alternate content. This plugin offers the easiest way to handle users with old Flash versions or users that do not have flash at all. You have following choises

  • Default behaviour is to replace alternate content with flash if user has required flash version.
  • You setup express install to upgrade Flash on the fly.
  • You can configure you own onFail method that can generate content dynamically. You may even want to set up alternate browser instead of Flash.
  • If you are too lazy to configure anything you can let this tool to show default message which is actually very informational. User will see a message informing about required player version and a direct link to correct download page.
  • jQuery support. jQuery is no longer required but is very well supported. If you have many Flash objects on your site (such as sifr objects) jQuery is an ideal tool for "flash-enabling" them. It has native query language for finding elements and this plugin can replace those elements with Flash. jQuery is not required sot this tool can also work without it.
  • flexible API access. After you have placed your Flash object to the page you'll instantly have the handle to the Flash object's programming interface (API) if such is profided.
  • Size. Althought rich in features this plugin weights a ridiculous 4.1 kb when packed.
Usage

// without jQuery: replace first argument with flash
flashembed(element, {parameters}, {configuration});

// with jQuery: replace selected jQuery objects with flash
$("selector").flashembed({parameters}, {configuration});


    
 
 
 
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐
  • 通过javascript库JQuery实现页面跳转功能代码
  • jQuery鼠标动画插件 jquery-ahover
  • jQuery概述,代码举例及最新版下载
  • jQuery圆角插件 jQuery Corners
  • Jquery操作html复选框checkbox:全选,全不选和反选
  • jQuery相册插件 jQuery.popeye
  • struts+spring+hibernate+jquery实现分页功能的几个基本类介绍(异步加载)
  • jQuery UI组件 jQuery UI
  • jQuery右键菜单插件 jQuery ContextMenu
  • jQuery日历插件 jQuery Week Calendar
  • jQuery的中文日历插件 jQuery.datePickerCn
  • jQuery实现CSS3动画效果的插件 jQuery Transit
  • jQuery的CSV插件 jQuery CSV
  • jQuery的气泡提示插件 jquery.ns_bub.js
  • jQuery气泡提示插件 jquery-rollover-tooltip
  • jQuery对话框 jQuery Modal Dialog
  • jQuery 插件 jQuery Ripples
  • 精简版的jQuery jQuery.ish
  • jQuery的OpenSocial插件 OpenSocial jQuery
  • jQuery链接插件 jquery.biggerlink
  • 在线客服jQuery 插件 jQuery.onServ


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,,E-mail:www_#163.com(请将#改为@)

    浙ICP备11055608号-3