- 网站公告
-
《倾城音画网》专用“MP4 格式视频”的代码构架
时间:2016-12-28 12:31:08 作者:倾城之恋 来源:倾城音画网 浏览:206 评论:0内容摘要:《倾城音画网》专用“MP4格式的视频”代码构架<tablestyle="background-color:#fcfcfc;width:100%;"class="ke-zeroborder" border="1" c...《倾城音画网》专用“MP4 等格式视频”的代码构架
<table style="background-color:#fcfcfc;width:100%;" class="ke-zeroborder" border="1" cellspacing="1" bordercolor="#cccccc" cellpadding="1" align="center">
<tbody>
<tr>
<td><b><span style="font-family:'Microsoft YaHei';color:#ee0000;">✪ </span><span style="font-family:'Microsoft YaHei';">编者按:</span></b><br />
<span style="font-family:'Microsoft YaHei';">
在这里输入你的这篇帖子的“编者按”内容纯文字
</span><br />
<span style="font-family:'Microsoft YaHei';"> </span><div style="text-align:right;"><span style="line-height:1.5;color: #ee0000;font-family:'Microsoft YaHei';">☜▪▪▪☉▁▁▁欢迎欣赏▁▁▁☉▪▪▪☞</span></div>
</td>
</tr>
</tbody>
</table>
<br />
<table style="position:relative; width:1000px; top:0px; left:-39px;" class="ke-zeroborder">
<tbody>
<tr>
<td>
<p align="center">
<embed src="视频地址" width="宽度" height="高度" autostart="true" />
</p>
</td>
</tr>
</tbody>
</table>
注意:
为了保证视频在本站发表后居中,代码中顶部的left:-数值,须与下面的width="Flash宽度"对应,才能保证动画居中。
◆视频 的宽度设置为width="960"
<table style="position:relative; width:1000px; top:0px; left:-39px;" class="ke-zeroborder">
◆视频 的宽度设置为width="1000"
<table style="position:relative; width:1000px; top:0px; left:-41px;" class="ke-zeroborder">
◆视频 的宽度设置为width="1100"
<table style="position:relative; width:1000px; top:0px; left:-87px;" class="ke-zeroborder">
◆视频 的宽度设置为width="1200"
<table style="position:relative; width:1000px; top:0px; left:-143px;" class="ke-zeroborder">
◆视频 的宽度设置为width="1300"
<table style="position:relative; width:1000px; top:0px; left:-192px;" class="ke-zeroborder">
◆视频 的宽度设置为width="1400"
<table style="position:relative; width:1000px; top:0px; left:-243px;" class="ke-zeroborder">
◆视频 的宽度设置为width="1440"
<table style="position:relative; width:1000px; top:0px; left:-260px;" class="ke-zeroborder">
特别说明:
针对mp4等格式视频作品,如果你已经有了这个视频的原“高/宽”数值,现在想按“画面不变形”的比例缩放作品,那么就先依据上面列出的7种宽度选择确定一个宽度,再用公式可计算得出新的高度数值,填入发帖代码(相应的位移left数值也按照上面对应填写)即可。
计算公式为:新高=原高×新宽÷原宽
比如,视频的原“高/宽”数值为“480/960”,现在要把宽度“960”变为“1400”,可以利用上面计算公式得出宽“1400”对应的高度是“700”,画面比例不变形放大后新的“高/宽”数值为“700/1400”,填入发帖代码构架即可,并参考填入上面的位移数值“left:-243px”。
- 相关评论
- 精彩推荐
- 浏览排行
-
-
12-2《倾城音画网》管理员专用发帖详细步骤
-
12-18《倾城音画网》管理员专用发帖详细步骤
-
1-15《倾城音画网》专用 FLASH 外链到 QQ 空间发帖样式
-
12-18《倾城音画网》图文发帖代码构架
-
12-2╱╲______☜▪⊙倾城音画网⊙▪☞______╱╲
-
12-1《倾城音画网》网站管理规则
-
12-18《倾城音画网》腾讯视频专用发帖代码(倾城之恋)
-
9-22《倾城音画网》《伤感音乐网》代码构架
-
12-27《倾城音画网》网易云音乐|发帖制作音乐的代码构架
-
1-8《倾城音画网》全民K歌 专用发帖构架
-
- 友情链接
-
文章管理系统 |