本文介绍了嵌入了Liverail广告服务器代码的HTML5视频播放器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!请帮助我,我正在使用 http://videojs.com/#section5 [ ^ ]遵循了说明,并且工作正常.

但是,如何从liverail中实现此脚本?它在< head>中不起作用也< body>标签?我的原始代码如下:

 <  !DOCTYPE     html     PUBLIC    -//W3C//DTD     HTML     4.01//EN"   "http://www.w3.org/TR/html4/strict.dtd"  > 
<   html  >  <  头 >  <  链接    href   ="  http://vjs.zencdn.net/c/video-js.css"   ="span>    rel   =" 样式表" > 

<  脚本    src   ="   http://vjs.zencdn.net/c/video. js" >  <  /script  > 

<  元   内容  ="   text/html; charset = ISO-8859-1"    http-equiv   =" 内容类型" >  <  标题 >  html <  /标题 > 



<  /head  >  <  正文 >  <  视频    id   ="  my_video_1"    类  ="  video-js vjs-default-skin "   控件  ="  "   预加载  ="  自动"   宽度  ="  640"    高度  ="  264"   海报  ="   my_video_poster.png"   数据设置  ="  {}"  >> 

<  源    src   ="   my_video.mp4"   类型  ="  视频/mp4" > 

<  源    src   ="   my_video.webm"   类型  ="  视频/webm" > 

<  /source  > 

<   br  > 

<  /source  >  <  /video  >  <  /body  >  <  /html  >  



现在这是liverail发送给我的: http://advisory.posterous.com/98575686 [ ^ ]但我不知道将其粘贴到哪里,如何使此配置起作用? ="h2_lin">解决方案


Hi! please help me, I''m using http://videojs.com/#section5[^] followed the instructions and is working fine.

But how do I implement this script from liverail? it doesnt work in the <head> nor <body> tags? my sorce code looks like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head><link href="http://vjs.zencdn.net/c/video-js.css" rel="stylesheet">

<script src="http://vjs.zencdn.net/c/video.js"></script>

<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>html</title>



</head><body><video id="my_video_1" class="video-js vjs-default-skin" controls="" preload="auto" width="640" height="264" poster="my_video_poster.png" data-setup="{}">

<source src="my_video.mp4" type="video/mp4">

<source src="my_video.webm" type="video/webm">

</source>

<br>

</source></video></body></html>



now this is what liverail sent to me: http://advisory.posterous.com/98575686[^] but I dont know where to paste it in, how do i get this configuration to work?

解决方案


这篇关于嵌入了Liverail广告服务器代码的HTML5视频播放器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-18 18:45