GithubHelp home page GithubHelp logo

flarum-ext-mediaembed's Introduction

mediaembed

自动将第三方网站的媒体(视频、音频等)嵌入到 Flarum 中。

说明

Flarum 论坛使用 s9e/TextFormatter 进行内容格式化处理。由于是国外开发的,所以支持的媒体嵌入大多是国外的。

开发文档参考:https://github.com/s9e/TextFormatter/blob/master/docs/Plugins/MediaEmbed/Add_custom.md

安装

下载安装包,解压并上传到 Flarum 的 extensions 目录。然后以管理员身份进入后台面板开启此插件。

贡献

如果发现了不支持的网站,可以提交 issues

:提交之前,先搜索一下,以避免重复提交。

支持的网站

flarum-ext-mediaembed's People

Contributors

justjavac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

carpho fuck2ky

flarum-ext-mediaembed's Issues

https 站无法嵌入网易云音乐

https://wohont.com/d/2

image

<iframe 
    width="330" 
    height="86" 
    src="http://music.163.com/outchain/player?type=2&amp;id=26608473&amp;auto=0&amp;height=66" 
    allowfullscreen="" 
    frameborder="0" 
    scrolling="no" 
    style="position:absolute;top:0;left:0;width:100%;height:100%">
</iframe>

Flarum论坛视频和音频插件问题

  1. 是否可以考虑关闭自动播放 -
    这点在我的最近回复中会有体现。如果发帖或者回复多个音频文件,会同时播放,影响效果。可以选择手动开启播放。
  2. 文本编辑器能否更换下,插入图片可以直接点击拖拽上传。
  3. tags 的添加权限,不光是管理员,可否自定义tags的权限。

酷6

视频格式

  • http://v.ku6.com/show/NxKk48UmNOTpa2eIj1HkQg.html

SoundCloud多选项解决办法?

多选项

SoundCloud有多种设计,如下

对比TextFormmatter · Add_costum.md

在README里面有一个模拟编辑器可以测试链接,结果如下:

问题在于自定义选项,是否有可能链接到SoundCloud的API,然后在保留目前使用链接就可以自动识别的情况下新增一个功能可以让用户自定义样式?

下面是SoundCloud的iframe

<iframe width="100%" height="450" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/291954396&amp;auto_play=false&amp;hide_related=false&amp;show_comments=true&amp;show_user=true&amp;show_reposts=false&amp;visual=true"></iframe>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.