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.
Not a member yet? Click here to register.
Forgot Password?

Adding Videos in News Admin

Asked Modified Viewed 3,734 times
S
SnakeEye
S
If it aint broke...Don't fix it!
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 15 threads in the forums
  • Started this discussions
asked
Junior Member

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:
www.jollyrogersgaming.com/images/newspost-error1.jpg


www.jollyrogersgaming.com/images/newspost-error2.jpg


www.jollyrogersgaming.com/images/newspost-error3.jpg


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.
0 replies

5 posts

D
dimki
D
dimki 10
  • Senior Member, joined since
  • Contributed 246 posts on the community forums.
  • Started 28 threads in the forums
answered
Senior Member

hm update this sometimes to become

maybe somewhere here
or trick here from
/includes/jscripts/tiny_mce/plugins/media/js
Edited by dimki on 25-03-2017 03:09,
0 replies
S
SnakeEye
S
If it aint broke...Don't fix it!
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 15 threads in the forums
  • Started this discussions
answered
Junior Member

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.
0 replies
D
dimki
D
dimki 10
  • Senior Member, joined since
  • Contributed 246 posts on the community forums.
  • Started 28 threads in the forums
answered
Senior Member

https://github.com/gtraxx/tinymce-plu...in-youtube


`html
###Configuration


<script type="text/javascript">
tinymce.init({
   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]",
   });
</script>
Edited by dimki on 01-04-2017 15:35,
0 replies
F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

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>
Edited by N/A on 04-04-2017 08:45,
0 replies
Z
zizub
Z
zizub 10
  • Member, joined since
  • Contributed 156 posts on the community forums.
  • Started 29 threads in the forums
answered
Member

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/
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 5 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

F
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
S
S
If it aint broke...Don't fix it!
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 15 threads in the forums
  • Started this discussions
D
D
dimki 10
  • Senior Member, joined since
  • Contributed 246 posts on the community forums.
  • Started 28 threads in the forums
Z
Z
zizub 10
  • Member, joined since
  • Contributed 156 posts on the community forums.
  • Started 29 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet