内容简介:通过查看 WordPress 的HTML源码,可以看到视频是通过因此我们可以通过在org-mode中直接插入HTML代码的方式来插入外部URL视频:或者
通过查看 WordPress 的HTML源码,可以看到视频是通过 video
tag来实现的,它的格式差不多是这样的
<video class="wp-video-shortcode" id="video36-1" width="640" height="360" preload="metadata" controls="controls"><source type="video/mp4" src="https://raw.githubusercontent.com/lujun9972/baby/master/%E5%AE%B6/images/Baby%E8%BF%BD%E5%A6%B9%E8%AE%B01.mp4" /><a href="https://raw.githubusercontent.com/lujun9972/baby/master/%E5%AE%B6/images/Baby%E8%BF%BD%E5%A6%B9%E8%AE%B01.mp4">https://raw.githubusercontent.com/lujun9972/baby/master/%E5%AE%B6/images/Baby%E8%BF%BD%E5%A6%B9%E8%AE%B01.mp4</a></video>
因此我们可以通过在org-mode中直接插入HTML代码的方式来插入外部URL视频:
#+begin_src html <video class="wp-video-shortcode" id="video36-1" width="640" height="360" preload="metadata" controls="controls"><source type="video/mp4" src="https://raw.githubusercontent.com/lujun9972/baby/master/%E5%AE%B6/images/Baby%E8%BF%BD%E5%A6%B9%E8%AE%B01.mp4" /><a href="https://raw.githubusercontent.com/lujun9972/baby/master/%E5%AE%B6/images/Baby%E8%BF%BD%E5%A6%B9%E8%AE%B01.mp4">https://raw.githubusercontent.com/lujun9972/baby/master/%E5%AE%B6/images/Baby%E8%BF%BD%E5%A6%B9%E8%AE%B01.mp4</a></video> #+end_src
或者
#+ATTR_HTML: :class wp-video-shortcode :width 640 :height 360 :preload metadata :controls controls #+BEGIN_video #+HTML: <source type="video/mp4" src="https://raw.githubusercontent.com/lujun9972/baby/master/%E5%AE%B6/images/Baby%E8%BF%BD%E5%A6%B9%E8%AE%B01.mp4" /> #+HTML: <a href="https://raw.githubusercontent.com/lujun9972/baby/master/%E5%AE%B6/images/Baby%E8%BF%BD%E5%A6%B9%E8%AE%B01.mp4" ></a> #+END_video
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Flexible Pattern Matching in Strings
Gonzalo Navarro、Mathieu Raffinot / Cambridge University Press / 2007-7-30 / USD 64.99
String matching problems range from the relatively simple task of searching a single text for a string of characters to searching a database for approximate occurrences of a complex pattern. Recent ye......一起来看看 《Flexible Pattern Matching in Strings》 这本书的介绍吧!