<sourcesets srcdirs src="" type='video/mp4' /> 。src为空的时候不显示,怎么写<script>

=================== Traceroute command: tracert 76.73.44.2-d C: \ Users \ Administrator& tracert 66.90.103.147 Tracing route to 66.90.103.147 over a maximum of 30 hops 1 25 ms 12 ms 42 ms 192.168.1.1 2 54 ms 48 ms 63 ms 1.226.128.219.broad.fs.gd.dyna
gliffy confluence插件 下载地址: /pages/viewpage.action?pageId=6979701 反编译工具:Java Decompiler /p/java+decompiler 破解过程 1.解压gliffy-confluence-plugin-5.1.jar到目录下gliffy-confluence-plugin-5.1\META-INF\lib查找gliffy-l
ConcurrentHashMap and CopyOnWriteArrayList comparison. Blog categories: Java ConcurrentHashMap ConcurrentHashMap introduced Segment, each Segment is a hashtable, the equivalent of two Hash table, and then lock in the Segment level, and increased conc
我修正了几个小bug.加了一个在对方机器上直接生成一个down.vbs,用来下载用. 这个down.vbs的用法看这里 http://www.jb51.net/article/15506.htm 代码: On Error Resume Next Set outstreem=Wscript.stdout If (LCase(Right(Wscript.fullname,11))=&Wscript.exe&) Then Wscript.Quit End If If Wscript.argu
思科今天发布了2010财年第二季度财报.报告显示,思科第二季度净利润为19亿美元,同比增长23.2%:净营收为98亿美元,同比增长8%. 2010财年第二季度财报要点: 在截至日的这一财季,按照美国通用会计准则,思科净利润为19亿美元,这一业绩比去年同期的15亿美元增长23.2%.按照美国通用会计准则,思科第二季度每股盈利32美分,这一业绩好于去年同期.2009财年第二季度,思科每股收益26美分.思科第二季度净营收为98亿美元,比去年同期的91亿美元增长8%. 不计入一次性支出
ASCII(美国信息交换标准编码)表 字符 ASCII代码 字符 ASCII代码 字符 ASCII代码 二进制 十进制 十六进制 二进制 十进制 十六进制 二进制 十进制 十六进制 回车 ESC 空格 ! & # $
27 32 33 34 35 36 0D 1B 20 21 22 23 24 ? @ A B C D E
Silverlight3发布时,我和朋友都为其新增的GPU硬件加速功能激动不已,于是开始了肆无忌惮的连夜测试,可结果却实在让我们大失所望.是的,不论怎样修改代码都无法感觉到明显的性能提升.接下来的日子里, GPU这个词渐渐的远离了我的脑海.直至几天前,在与一位朋友交流后又再次让我萌生去测试GPU硬件加速在Silverlight4中效果的想法.真乃不测不知道,一测吓一跳.在最近Silverlight贬低声此起彼伏的日子里,我相信这篇文章及测试结果必将成为Silverlight开发中最为强劲的春哥!
1 1. 日语假名及其发音一览 平 片 罗 平 片 罗 平 片 罗 平 片 罗 平 片 罗 假 假 马 假 假 马 假 假 马 假 假 马 假 假 马 音 音 音 音 音 ________________________________________________________________ ______________ あ ア a い イ i う ウ u え エ e お オ o か カ ka き キ ki く ク ku け ケ ke こ コ ko さ サ sa し シ si/shi す
From the &structure based on comparative ranking summary,& we know: all depends &more& operation time complexity of sorting algorithm a lower bound of O (N * logN). However, the existence of faster algorithms. These algorithms do not &
Oracle's Undo in two ways: First, use the undo tablespace, the second is to use rollback segments. We undo_management parameters to control which way, if set to auto, the use of UNDO tablespace, then you must specify an UNDO tablespace. If set to man
这篇文章主要介绍了php基于GD库画五星红旗的方法,涉及php操作GD库及数组的使用技巧,具有一定参考借鉴价值,需要的朋友可以参考下 本文实例讲述了php基于GD库画五星红旗的方法.分享给大家供大家参考.具体分析如下: 这里实例分析php画的五星红旗(GD库),代码如下: &?php header(&Content-Type:image/jpeg&); $ing = imagecreatetruecolor(700,410); //新建一个真彩色图像,返回值为一个图像标识符,背景
如果拥有20万创业资金,大学生就可以顺利走上创业之路吗?专家给出的答案是否定的.创业的前期准备并不仅仅是资金的问题,更关键的是需要创业者的激情和决心,以及一个良好的创业项目,一个稳定的合作团队,否则创业也无从谈起.如果拥有了20万创业资金,你又会拿来做什么呢?创业者也有不同答案,开间小店小本经营,20万元足矣,倘若做一个大项目,20万也许连购买固定资产都不够,如果是一时发生资金链的断层,20万也可能是一场及时雨-- 现状 有创业想法的很多 但真正付诸行动少 大学生有创业想法的人很多,但真正付诸行
经济不景气,就业困难,大学毕业生创业便成热门话题.然而有关数据显示,从2005年以来,广东高校毕业生自主创业的数量约占当年高校毕业生的1%-2%.以2008年为例,应届高校毕业生中选择自主创业的仅占1.2%.而在西方发达国家,这个数字为20%-30%.而在创业的大学毕业生中,成功的人又是凤毛麟角,大学生创业成了一个沉甸甸的话题.大学生创业难在何处呢? 问题一?政策与创业不接轨? 广东金融学院金融系2005级的男生小谢,一直希望毕业后能创办一家网络公司,建成一个为海峡两岸经济文化交流提供信息和平台
导语:美国媒体今日发表分析文章称,美国网络广告市场在连续两个季度出现下滑之后,在第三季度似乎停止了下滑势头并开始持稳,这主要受搜索广告业务回升的推动.以下为文章全文: 在连续两个季度出现同比下滑之后,看起来美国网络广告市场营收在第三季度持稳.谷歌.雅虎.微软和AOL的网络广告总营收当季同比增长1.2%,至80亿美元.虽然网络广告行业尚未走出困境,但市场可能正在持稳. 至少对谷歌来说是这样.在四家主要网络搜索公司中,谷歌是当季唯一实现广告营收增长的,较上季度以及上年同期均增长了4亿美元左右.雅虎.
特别推荐:艾薇儿婚礼背景音乐--&Could This Be Love&超浪漫甜蜜的歌 1.王力宏-i'm lovin'it.麦当劳全球主题曲,不多说,大家自己去听,主打歌& i'm lovin'it &( 我就喜欢)是麦当劳2003年度最新广告歌的华语版,此曲的英文版本由 justin timberlake演唱. 2.王力宏-唯一.悠扬,流畅,很有韵味的感觉,大声对你深爱的人说你是我的唯一 3.水木年华-一生有你. 4.forever and ever-because i lov
词性的重要性不言而喻,尤其是对于自然语言处理来说,哪怕就是记单词,根据词性对单词进行归组也是非常有帮助的. superword是一个Java实现的英文单词分析软件,主要研究英语单词音近形似转化规律.前缀后缀规律.词之间的相似性规律等等. 各大词性广泛度排名: 1.N-COUNT(可数名词) (词数:5150) 2.V(动词) (词数:3881) 3.ADJ-GRADED(能被表示程度的副词或介词词组修饰的形容词) (词数:2583) 4.N-UNCOUNT(不可数名词) (词数:2038) 5.
词性的重要性不言而喻,尤其是对于自然语言处理来说,哪怕就是记单词,根据词性对单词进行归组也是非常有帮助的. superword是一个Java实现的英文单词分析软件,主要研究英语单词音近形似转化规律.前缀后缀规律.词之间的相似性规律等等. 各大词性及其包括的词: 32.N-COUNT-COLL(可数集合名词) (词数:50) 1 aristocracy army array audience band 2 cast chapter command commission committee 3 co
Web site experience, referring to the use of network features, providing customers with complete Internet experience, increase customer satisfaction, which with customers to establish close and continuing relationship. Site experience category 1, sen
Web site experience, referring to the use of network features, providing customers with complete Internet experience, increase customer satisfaction, which with customers to establish close and continuing relationship. Site experience category 1, sen
1, sensory experience: audio-visual presentation to the user's experience, emphasizing comfort. 2, interactive experience: presented to the user operational experience, emphasizing ease of use / availability. 3, emotional experience: the psychologica
在论坛上看到有位朋友希望对中文按拼音进行排序,刚好最近有点空,贴一份原来一个同事写的一个排序类,仅稍微改动了下下,拿出来分享下. 废话不多说,看例子: &?xml version=&1.0& encoding=&utf-8&?& &mx:Application xmlns:mx=&/2006/mxml& layout=&absolute& fontSize=&
每个人对网站的使用习惯不一样,功能要求也不一样,要做到最好的用户体验只能是照顾最主要目标受众的需求,因此要实现用户体验的优化,前提之 一是必须对自己的目标受众了如指掌.因此,要有一个详细的背景调查,分析目标受众的属性,分析他们的需求和行为特征,这样才能有的放矢,实现网站用户体验优化的目的. 现在很多互联网行业的从业人员动不动就提&用户体验&, 但是在看了很多同行的网站后,发现很多的网站不仅没有把用户体验这个最重要的部分处理好,并 且对用户体验的概念都比较模糊,更不知道从何下手,尤其对于
新浪科技讯 美国东部时间2月25日18:00(北京时间2月26日7:00),网易(Nasdaq:NTES)今天发布了截至12月31日的2008财年第四季度和2008财年未经审计财报.报告显示,网易第四季度总营收为人民币8.017亿元(约合1.175亿美元),去年同期为人民币6.221亿元(约合9120万美元):净利润为人民币5.759亿元(约合8440万美元),比去年同期为的人民币3.898亿元(约合5710万美元)增长47.8%. 2008年第四季度财务业绩收入 2008年第四季度总收入达8.
Javaeye site before it was written three dice will roll a number of kinds of the results of a surface sample questions, with the object-oriented way of thinking, then their own thought and thought one day late at night and found that this problem can
1. package excel. 2. 3. import java.io.F 4. import java.io.FileOutputS 5. import java.io.OutputS 6. import java.util.ArrayL 7. import java.util.D 8. 9. import jxl.C 10. import jxl.CellT 11. import jxl.S 12. im
1. Js and css compatible with IE and FireFox (FF) 2. Css: 3.1. 4. Ul tag in FF has a padding value, but there is no margin value, while in IE, the opposite 5. The solution: the ul the padding and margin are set to 0 (or may not be 0) if: padding: 0;
1.alter v. Changes, changes , Change 2.burst vi.,n. Suddenly, burst 3.dispose vi. Remove : Disposal : Solve : Deal with (of) 4.blast n. Explosion : Flow vi. Fried , Blow up 5.consume v. Consumption, exhaust 6.split v. Cleave : Separate : A. crack of
Words like representative, please do not rush to tell me that you know this word, in fact, you may not &know& the word, you just relying on your memory to remember this string of two characters in English letters and symbols &for& betw
- Provincial provincial create table provincial ( provincialID int, provincialName varchar (50), primary key (provincialID) ) Engine = INNODB default charset = insert into provincial values (1, 'Beijing'); insert into provincial values (2, 'Tian
In Android, the alternative storage methods are SharedPreferences, file storage, SQLite database mode, the content provider (Content provider) and network. 1. SharedPreferences way Android available to store some simple configuration information of a
1. Java application jcom will transfer pdf word 2. 3. Experience 2009 - 03 - 01 09: 47 to read 528 comments 0 4. Font size: much of the small 5. In JAVA using JCOM and JXL tips: 6. 7. (1) should be under your lib jdom-1.0. Jar, jxl-2.5. 5. Jar, jcom-
The full ASCII comparison table 0 NUT 32 (space) 64 @ 96 . 1 SOH 33 ! 65 A 97 a 2 STX 34 & 66 B 98 b 3 ETX 35 # 67 C 99 c 4 EOT 36 $ 68 D 100 d 5 ENQ 37 % 69 E 101 e 6 ACK 38 & 70 F 102 f 7 BEL 39 , 71 G 103 g 8 BS 40 ( 72 H 104 h 9 HT 41 ) 73 I
Virtual key code Corresponding value Soft Key VK_LBUTTON 1 The left mouse button VK_RBUTTON 2 Right VK_CANCEL 3 Cancel VK_MBUTTON 4 Mouse button VK_XBUTTON1 5 VK_XBUTTON2 6 VK_BACK 8 Backspace VK_TAB 9 Tab VK_CLEAR 12 Clear VK_RETURN 13 Enter VK_SHIF
ServletRequest class by getInputStream () method to get a client to the server's data flow, analysis of upload file formats, based on the analysis will turn out more than one file server target file. Format similar to the following: / / File separato
Name Explain 0 MenuBar Menu bar 1 Standard Standard 2 Build Generate 3 XML Data XML Data 4 XML Schema XML schema 5 Context Menus Context menu 6 Style Sheet Stylesheet 7 Device Device 8 Microsoft Office Excel Microsoft Office Excel 9 Class Designer To
1using S 2using System.Collections.G 3using System.T 4using System.D 5using System.C 6 7using System.Data.SqlC 8using System.Data.OleDb; 9using System.Data.O 10using System.Data.Ora
Here are the parameters of provincial area code: Other: 1 Hong Kong 2 Macau, Taipei, 125 Beijing 252 280 Shanghai Tianjin: Tanggu District 132 127 Tianjin Chongqing: Chongqing 213 201 212 Fuling Fengjie Hebei: Shijiazhuang 82 3 86 Handan Xingtai 8 12
http://www.blogjava.net/security/archive//xfire_wss4j.html Java code 1. As many systems need to implement WS-Security standard, we SpringSide provided XFire + WSS4J the Demo, this paper SpringSide in Spring + XFire + WSS4J the basic configu
When you apply ORACLE looks can be very difficult problems, particularly the novice who, today, I simply summarize what the Ta, released to everyone hope right help! And we Yiqi of progress together! ORACLE is not on the master to see. 1. Oracle inst
extjs study notes (e) of editable grid: Big Ben Source: blog garden : 01:46 Read: 2487 times the original link [Collection] Most of the time, we just use the grid for display of information, but sometimes also need to edit the information i
1 using S 2 using System.C 3 using System.Text.RegularE 4 5 namespace mon.Validate 6 ( 7 /**//// &summary& 8 / / / RegularMatch the summary. 9 / / / &/ summary& 10 public class RegularMatch 11
1. Oracle installation is complete, the initial password? internal / oracle sys / change_on_install system / manager scott / tiger sysman / oem_temp 2. ORACLE9IAS WEB CACHE initial default user and password? administrator / administrator 3. Oracle 8.
Thread pool: In short, the thread pool is to create a good number of threads in advance, convenient and fast processing of business received. The arrival of a task than the traditional, real-time to create a thread to handle, saving the thread creati
-- phpMyAdmin SQL Dump -- version 3.2.4 -- http://www.phpmyadmin.net -- -- Host : localhost -- Build date : 2010 In July. 13 Day 09:32 -- Server version : 5.0.91 -- PHP Version : 5.2.6 SET SQL_MODE=&NO_AUTO_VALUE_ON_ZERO&; -- -- Database : `www.
1. import java.io.*; 2. import java.text.*; 3. import java.util.*; 4. import javax.mail.*; 5. import javax.mail.internet.*; 6. 7. /** 8. * Have a message object needs to create a ReciveMail 9. */ 10. public class ReciveOneMail { 11. private MimeMessa
1.package com.hefeng. 2. 3. 4.import java.text.DateF 5.import java.text.ParseP 6.import java.text.SimpleDateF 7.import java.util.C 8.import java.util.D 9.import java.util.GregorianC 10. 11.public class Tim
73 pages common js code (switch) 1, back forward &input type=&button& value=& Back && &input type=&button& value=& Forward && 2, return &form& &input type=&button& value=& To retu
Java Socket programming - Multithreaded chat program first, for server programming, as the service side, the main program by following a few steps: / / 1. Creating socket ServerSocket ss = new ServerSocket (PortNumber); Socket s = ss.accept (); / / l
keycode 0 = keycode 1 = keycode 2 = keycode 3 = keycode 4 = keycode 5 = keycode 6 = keycode 7 = keycode 8 = BackSpace BackSpace keycode 9 = Tab Tab keycode 10 = keycode 11 = keycode 12 = Clear keycode 13 = Enter keycode 14 = keycode 15 = keycode 16 =
Loading Overview Module loaded in the understanding of this approach, we should first know what Module module. Module is actually a pre-compiled SWF file. Although the SWF file format, but this file can not be run independently, and can only be loade
Copyright (C) , All Rights Reserved.
版权所有 闽ICP备号
processed in 0.054 (s). 7 q(s)JS/jQuery/Ajax/Bootstrap(124)
源码分析/架构深入/开源框架(143)
原文地址:http://blog.csdn.net/software1/article/details/
直接使用自定义控制条和样式弹幕相关plugin写法
video.js&是开源插件,据说甚至可以集合到gitbook上
一个需要注意的点是下载下来的demo.html直接右键浏览器是打不开的,需要用iis或者nginx 或者beego这些服务端的玩意加载后,在前端浏览器才能看到视频页面。
brightcover 播放器是基于video.js内核封装的,所以它的文档也能参考
注意点:加载flash动画后,chrome ie firefox播放界面才能统一,否则各有各的界面
&!doctype html&
charset=&utf-8&&
&无标题文档&
href=&video-js/video-js.css& rel=&stylesheet& type=&text/css&/&
src=&js/jquery.js& type=&text/javascript& charset=&utf-8&&&
src=&video-js/video.js& type=&text/javascript& charset=&utf-8&&&
src=&video-js/ie8/videojs-ie8.js&&&
src=&video-js/videojs-contrib-hls.js&&&
type=&text/javascript&&
videojs.options.flash.swf = &static/video-js/video-js.swf&;
id=&videocontainer&&
id=&example_video& class=&video-js vjs-default-skin vjs-big-play-centered&
preload=&auto& controls
width=&800& height=&600& align=&middle& poster=&&
data-setup=&{ &html5& : { &nativeTextTracks& : false } }&&
src=&你的名字.mp4& type=&video/mp4&/&
src=&http://live.hkstv./live/hks/playlist.m3u8&
type=&application/x-mpegURL&&
src=&rtmp://live.hkstv./live/hks& type=&rtmp/flv&/&
&123456789101112131415161718192021222324252627282930313233343536
自定义控制条
PosterImage
TextTrackDisplay
LoadingSpinner
BigPlayButton
ControlBar
PlayToggle
FullscreenToggle
CurrentTimeDisplay
TimeDivider
DurationDisplay
ProgressControl
LoadProgressBar
PlayProgressBar
SeekHandle
VolumeControl
VolumeLevel
VolumeHandle
MuteToggle12345678910111213141516171819202122
使用:以添加按钮为例子
var player = videojs(&example_video&, {
&controls&: true,
&autoplay&: false,
&preload&: &auto&,
&loop&: false,
controlBar: {
captionsButton: false,
chaptersButton: false,
playbackRateMenuButton: true,
LiveDisplay: true,
subtitlesButton: false,
remainingTimeDisplay: true,
progressControl: true,
volumeMenuButton: {
inline: false,
vertical: true
fullscreenToggle: true
}, function () {
$(&.vjs-control-bar&).append('&button class=&vjs-control & id=&danmu_send_opt&&&u&按钮1&/u&&/button&');
var controlBar,
newElement = document.createElement('div'),
newLink = document.createElement('a'),
newImage = document.createElement('img');
newElement.id = 'downloadButton';
newElement.className = 'downloadStyle vjs-control';
newImage.setAttribute('src','/bcls/brightcove-player/download-video/file-download.png');
newLink.setAttribute('href','');
newLink.appendChild(newImage);
newElement.appendChild(newLink);
controlBar = document.getElementsByClassName('vjs-control-bar')[0];
insertBeforeNode = document.getElementsByClassName('vjs-fullscreen-control')[0];
controlBar.insertBefore(newElement,insertBeforeNode);
var newbtn = document.createElement('btn');
newbtn.innerHTML = '&button class=&vjs-control& id=&downloadButton&&&/button&';
var controlBar = document.getElementsByClassName('vjs-control-bar')[0];
insertBeforeNode = document.getElementsByClassName('vjs-fullscreen-control')[0];
controlBar.insertBefore(newbtn,insertBeforeNode);
});12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
自定义控制条完整例子:&
自定义样式:
video.js 采用flex布局,所以float这种不起作用
如果想要使用float,需要修改默认的video.js.css
并且后面的按钮都要进行样式调整
.vjs-has-started .vjs-control-bar {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: block;
visibility: visible;
opacity: 1;
-webkit-transition: visibility 0.1s, opacity 0.1s;
-moz-transition: visibility 0.1s, opacity 0.1s;
-o-transition: visibility 0.1s, opacity 0.1s;
transition: visibility 0.1s, opacity 0.1s;
……省略无关部分
.video-js .vjs-play-control {
float:left;
cursor: pointer;
-webkit-box-flex: none;
-moz-box-flex: none;
-webkit-flex: none;
-ms-flex: none;
flex: none;
.video-js .vjs-fullscreen-control {
cursor: pointer;
-webkit-box-flex: none;
-moz-box-flex: none;
-webkit-flex: none;
-ms-flex: none;
flex: none;
float: right;
}123456789101112131415161718192021222324252627282930313233343536
使用开源jquery.danmu.js
video.js集成例子
&!doctype html&
lang=&en&&
charset=&UTF-8&&
href=&video-js/video-js.css& rel=&stylesheet& type=&text/css&&
src=&video-js/video.js& type=&text/javascript& charset=&utf-8&&&
src=&video-js/ie8/videojs-ie8.js&&&
src=&video-js/videojs-contrib-hls.js&&&
src=&danmu/jquery-1.11.1.min.js&&&
src=&../../../../../桌面/tanmu/DanmuPlayer/src/js/jquery.danmu.js&&&
type=&text/javascript&&
videojs.options.flash.swf = &video-js/video-js.swf&;
&RtmpPlayerTest&
id=&example_video& class=&video-js vjs-default-skin vjs-big-play-centered& controls preload=&auto& width=&1024& height=&768&
data-setup='{ &html5& : { &nativeTextTracks& : false } }'&&
src=&rtmp://live.hkstv./live/hks& type=&rtmp/flv& /&
id=&danmu&&
class=&vjs-no-js&&
To view this video please enable JavaScript, and consider upgrading to a web browser
href=&/html5-video-support/& target=&_blank&&supports HTML5 video&
id=&danmu& &
class=&text-center ctr&&
type=&button& onclick=&resumer() &&弹幕开始/继续&
type=&button& onclick=&pauser()&&弹幕暂停&
显示弹幕: type='checkbox' checked='checked' id='ishide' value='is' onchange='changehide()'& &&&&
弹幕透明度:
type=&range& name=&op& id=&op& onchange=&op()& value=&100&& &
当前弹幕运行时间(分秒): id=&time&&&&&
设置当前弹幕时间(分秒):
type=&text& id=&set_time& max=20/&
type=&button& onclick=&settime()&&设置&
name=&color& id=&color&&
value=&white&&白色&
value=&red&&红色&
value=&green&&绿色&
value=&blue&&蓝色&
value=&yellow&&黄色&
name=&size& id=&text_size&&
value=&1&&大文字&
value=&0&&小文字&
name=&position& id=&position&&
value=&0&&滚动&
value=&1&&顶端&
value=&2&&底端&
type=&textarea& id=&text& max=300/&
type=&button& onclick=&send()&&发送&
type=&text/javascript&&
var player = videojs('example_video');
(function () {
$(&#danmu&).danmu({
height: &100%&,
width: &100%&,
zindex: 100,
speed: 30000,
opacity: 1,
font_size_small: 16,
font_size_big: 24,
top_botton_danmu_time: 6000
})(jQuery);
timedCount();
var first = true;
function timedCount() {
$(&#time&).text($('#danmu').data(&nowtime&));
t = setTimeout(&timedCount()&, 50)
function starter() {
$('#danmu').danmu('danmu_start');
function pauser() {
$('#danmu').danmu('danmu_pause');
function resumer() {
$('#danmu').danmu('danmu_resume');
function stoper() {
$('#danmu').danmu('danmu_stop');
function getime() {
alert($('#danmu').data(&nowtime&));
function getpaused() {
alert($('#danmu').data(&paused&));
function add() {
var newd =
{&text&: &new2&, &color&: &green&, &size&: &1&, &position&: &0&, &time&: 60};
$('#danmu').danmu(&add_danmu&, newd);
function insert() {
var newd = {&text&: &new2&, &color&: &green&, &size&: &1&, &position&: &0&, &time&: 50};
str_newd = JSON.stringify(newd);
$.post(&stone.php&, {danmu: str_newd}, function (data, status) {
alert(data)
function query() {
$.get(&query.php&, function (data, status) {
var danmu_from_sql = eval(data);
for (var i = 0; i & danmu_from_sql. i++) {
var danmu_ls = eval('(' + danmu_from_sql[i] + ')');
$('#danmu').danmu(&add_danmu&, danmu_ls);
function send() {
var text = document.getElementById('text').
var color = document.getElementById('color').
var position = document.getElementById('position').
var time = $('#danmu').data(&nowtime&) + 5;
var size = document.getElementById('text_size').
var text_obj = '{ &text&:&' + text + '&,&color&:&' + color + '&,&size&:&' + size + '&,&position&:&' + position + '&,&time&:' + time + '}';
$.post(&stone.php&, {danmu: text_obj});
var text_obj = '{ &text&:&' + text + '&,&color&:&' + color + '&,&size&:&' + size + '&,&position&:&' + position + '&,&time&:' + time + ',&isnew&:&&}';
var new_obj = eval('(' + text_obj + ')');
$('#danmu').danmu(&add_danmu&, new_obj);
document.getElementById('text').value = '';
function op() {
var op = document.getElementById('op').
$('#danmu').data(&opacity&, op);
function changehide() {
var op = document.getElementById('op').
op = op / 100;
if (document.getElementById(&ishide&).checked) {
jQuery('#danmu').data(&opacity&, op);
jQuery(&.flying&).css({
&opacity&: op
jQuery('#danmu').data(&opacity&, 0);
jQuery(&.flying&).css({
&opacity&: 0
function settime() {
var t = document.getElementById(&set_time&).
t = parseInt(t)
console.log(t)
$('#danmu').data(&nowtime&, t);
&123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
&&相关文章推荐
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:1142558次
积分:15047
积分:15047
排名:第880名
原创:251篇
转载:1173篇
译文:92篇
评论:74条
(window.slotbydup = window.slotbydup || []).push({
id: '4740887',
container: s,
size: '250,250',
display: 'inlay-fix'

我要回帖

更多关于 js更换source的src 的文章

 

随机推荐