Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Adding Videos in News Admin

I am having a problem when I try to use the tinymce in the news admin for adding videos into news stories using v7.02.07 It appears to be a browser plugin issue. See images below:



No matter what I do it will not embed a youtube video or a video with a direct link to the .flv or .swf file.
If I select to embed an mp4 video it wants to use a plugin for quicktime and Chrome doesn't support pretty much any plugins so it is not view-able in Chrome and in fact if I try to add the video while using Chrome, the system removes the coding so the only thing that can be seen is whatever text was included with the news post. If I use IE or Firefox when making the news post, it will keep the coding and I can see the video when I go read the post in IE or Firefox but if I try to read the news post in Chrome I can see the news text but only shows a place marker for the video and tells me "This plugin is not supported" because it wants to use a Quicktime plugin to display the video.

I need to know if there is a way to make changes so that any video embedded into a news post will either use our sites own video player instead of relying on a plugin or make it so that it will at the very minimum use html5 to display the video. We have a video gallery addon that we use for adding videos that uses it's own video player and will play youtube videos or videos from a direct file source and use the addons video player to display the videos. There should be a way to make it so you can do the same thing when adding videos into news posts from the news admin.
hm update this sometimes to become

maybe somewhere here
or trick here from
The problem is not the use of tinymce although that could play a part in the problem. The problem is that the code for adding and displaying the news when you add videos into the news post it uses plugins. This is a problem because as I stated, Chrome does not support any plugins. The code needs to be edited so that when you post news, it is cross browser friendly and doesn't rely on the use of plugins.


<script type="text/javascript">
   selector: "textarea",
   plugins: [
         "advlist autolink lists link image charmap print preview anchor",
         "searchreplace visualblocks code fullscreen",
         "insertdatetime media table contextmenu paste youtube"
   toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image| youtube",
   extended_valid_elements: "+iframe[src|width|height|name|align|class]",

Id use an iframe if nothing else works. perhaps a colorbox / fancybox solution to it. But naturally you would need to make the HTML your self and not use Tiny for editing the news items.

Merged on Apr 04 2017 at 08:45:16:
Here is a standard iframe example for video sharing ,

<iframe width="560" height="315" src="https://www.youtube.com/embed/9qoqcEB6_D8" frameborder="0" allowfullscreen></iframe>

I'm currently studying these methods of inserting videos on the my site:
Responsive way with jQuery: https://schoberg.net/2015/08/fast-agile-youtube-embed-responsive-iframe-load-delay-with-jquery/
There is also another way, but in it, the video is not expanded to full screen: https://www.sitepoint.com/faster-youtube-embeds-javascript/
Thread Information
6 posts
2,150 times
Last Post
Last updated on 3 years ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: Falk, SnakeEye, dimki, zizub