Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

后台添加视频文件不显示。 #2058

Open
jackieleecn opened this issue Aug 14, 2019 · 7 comments
Open

后台添加视频文件不显示。 #2058

jackieleecn opened this issue Aug 14, 2019 · 7 comments

Comments

@jackieleecn
Copy link

求助:后台编辑器上传视频不显示。没有对应的操作说明。
image
确认服务器是支持MP4文件的。

@jiangbin4586
Copy link

这个在编辑器里面确实不显示,需要点击下方预览,看看,是否可以播放。

@jackieleecn
Copy link
Author

不显示。生成,预览都看不见。

@jiangbin4586
Copy link

代码贴出来,还有插入的那个视频 点击编辑器左上角的HTML 里面的代码也发出来看看。我这边6.11.1版本视频是正常能显示的。

@jackieleecn
Copy link
Author

这是前端生成页面的截图
image
这是前端生成的HTML截图
image

这是后台插入视频后,html
image

@jiangbin4586
Copy link

HTML 里面代码是一样的。
你后台版本是多少呢?这个应该属于标签没有解析对把。

<p style="text-indent: 2em; font-family: 宋体; font-size: 12pt;"><video class="video-js vjs-default-skin" src="/upload/videos/2019/8/3d7e2bdea4e30a26.mp4" controls height="280"></video></p>
页面生成出来的代码应该是这个。
你升级6.11.1试试

@jackieleecn
Copy link
Author

后台也是6.11最新版本了。
我发现我这边好像是标签没有被解析
image

@jackieleecn
Copy link
Author

原因找到了,不能使用{Content.content},STL标签解析不了。
我更换了为:<stl:content type=content></stl:content>后,视频内容就正常显示了。问题解决!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants