• 请不要在回答技术问题时复制粘贴 AI 生成的内容
vvniu
V2EX  ›  程序员

想把富文本编辑器的视频插入功能做得像知乎那样直接插入地址即可用,有什么插件吗?或者实现思路

  •  
  •   vvniu · Apr 23, 2014 via iPad · 5746 views
    This topic created in 4588 days ago, the information mentioned may be changed or developed.
    tinymce,视频的那个太复杂了

    ueditor,只能youku而且不知为何显示不出来,总是背后链接少了 v.swf什么的然后404

    难道只能正则过滤用户提交的文本了么...
    5 replies  •  2014-06-11 21:08:44 +08:00
    dawn009
    dawn009
    Apr 23, 2014
    1
    据我所知,如果视频网站不提供 oembed(国内网站都不提供),只能自己过滤。
    你搜搜onebox

    我在研究的是这个: https://github.com/discourse/onebox
    bsbgong
    bsbgong
    Apr 23, 2014❤️1
    2
    不太清楚楼主的具体需求
    如果说视频插件的话
    我博客用的这个FitVids:
    http://fitvidsjs.com/
    s2marine
    s2marine
    Apr 24, 2014
    3
    vvniu
    vvniu
    OP
    Apr 24, 2014
    4
    @bsbgong that's it! thank you!
    hit9
    hit9
    Jun 11, 2014
    5
    自己抓的哦
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2080 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 04:54 · PVG 12:54 · LAX 20:54 · JFK 23:54
    ♥ Do have faith in what you're doing.