This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
When viewing an embedded video with a description provided on the mobile view the description and the text following the description overlap. Doing a clear all does not help here. [[kgh]] (talk) 15:55, 21 February 2019 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
I don't know if any of the current devs of this extension watch its talk page here; the best place to leave feature requests would be Gitlab.
According to this issue, Spotify embedding was added a few days ago, though a new version of the extension hasn't yet been cut, so if you want the support now, you'll have to download the latest revision of the extension. 「ディノ奴千?!」☎ Dinoguy100003:56, 12 May 2019 (UTC)Reply
Latest comment: 7 years ago1 comment1 person in discussion
Hi. Just installed EmbedVideo 2.8.0 on my private MW 1.31 site. No issues on the install, but I'm not sure how to use it to embed videos in pages that are external link to the MP4 files. I see that it states clearly that it will handle MP4 files that are uploaded to the wiki, but how to embed video players that play links to external MP4 files? Thanks! Revansx (talk) 21:11, 24 July 2019 (UTC)Reply
Latest comment: 7 years ago1 comment1 person in discussion
When I try to embed an uploaded .MP4 file I use the "{{#evu:*link to mp4 on http server*|alignment=right}}" and get the result back "Couldn't parse video from *link to mp4 on http server*" DigitalManiak3k (talk) 18:17, 10 October 2019 (UTC)Reply
Latest comment: 7 years ago1 comment1 person in discussion
As soon as I include the parameter wfLoadExtension( 'EmbedVideo' ); in the LocalSettings.php file I get a server error when I try and access my wiki. It's like it can't find the extension code, but that is all present in the specified directories. Has anybody else experienced similar issue? Kevin Perkin (talk) 18:34, 10 October 2019 (UTC)Reply
Latest comment: 6 years ago6 comments2 people in discussion
Why is this extension listed as stable if it hasn't been tested on windows? Why aren't windows and ffmpeg even mentioned in the documentation? TespSam (talk) 19:34, 3 January 2020 (UTC)Reply
Probably because most people don't run MediaWiki on Windows... Also, you might want to tell people what is the actual issue you are facing. FFSTalk11:36, 6 January 2020 (UTC)Reply
I have a requirement to run windows on my server. The issue I'm having is that people have made assumptions. Everyone knows what happens when you assume things.
Extension looks for ffprobe in the the /usr/bin directory so that it can execute it as a shell command. Helpful suggestions have included things like "add the /usr/bin directory to the php config on your windows server" and "why aren't you running linux". I put a try catch block around it as the functionality is apparently entirely unnecessary. Seems to work fine on my test environment so I might push to production. TespSam (talk) 16:27, 7 January 2020 (UTC)Reply
My bad, I was looking at the dates completely wrong and figured it was something new... I'll try to fix this soon.
Edit: I took a look, and I cannot see where you would have this problem. The FFProbe class indeed checks for ffprobe, but uses a file_exists function before trying to use it, so it shouldn't cause any problems. This is certainly true in v2.7.3. What specific error are you getting? FFSTalk18:18, 16 January 2020 (UTC)Reply
Latest comment: 6 years ago2 comments2 people in discussion
I have a quick question. Would this extension create a corresponding File:* page for a youtube link so I can start using that File:* to create gallery of thumbnails etc using MediaWIki's usual media/files related features? TitusiMW (talk) 15:51, 1 June 2020 (UTC)Reply
Nope. A feature like that would be useful, though (I've had a few times I've missed it while working on a wiki). Wikia/FANDOM's video tool does have that feature, though I don't know where in their codebase you'd have to look to see how it's implemented (and it's anyone's guess how much work it'd be to port that functionality to be usable on a vanilla installation). 「ディノ奴千?!」☎ Dinoguy100021:13, 1 June 2020 (UTC)Reply
Latest comment: 5 years ago10 comments4 people in discussion
RESOLVED
Video was replaced.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
@Pppery: could we use a video that isn't religious for the example image and code samples throughout the page? WMF properties have enough biases as it is, without adding a religious bias as well. 「ディノ奴千?!」☎ Dinoguy100021:14, 3 June 2020 (UTC)Reply
It seems a little far-fetched to me that someone would make a claim of bias that the documentation for a video-embedding extension shows a video that happens to be religious.
Nevertheless, I would be willing to re-make this screenshot if someone else provides me with a link to a suitable creative-commons-licensed video on YouTube -- I don't feel like searching for a video that no one could possibly claim is objectionable myself. * Pppery *it has begun21:32, 3 June 2020 (UTC)Reply
@Pppery: This was an eye-opener to me too. I knew immediately from looking at it that this was footage of Stephen Anderson, the same radical Baptist preacher who has publicly exclaimed that he wants the government to execute homosexuals! I'm not accusing you of religious bias here, since you picked the video at random and you may not even have been aware of who Anderson is and his horrible beliefs, but we really shouldn't be including anything religious or political, especially something from a blatantly bigoted preacher, in technical documentation that has nothing to do with religion or politics. I ask that you please remove the image and find a different video example to use here. Even just an image depicting a man like this is highly inappropriate and can be taken both as highly offensive and that MediaWiki has a fundamentalist Baptist bias. SnowyCinema (talk) 20:26, 23 November 2020 (UTC)Reply
Since you asked for a video example, I found this one in just a few minutes: from the Wikimedia Foundation's YouTube channel, look up "Knowledge Belongs to All of Us". This kind of video seems appropriate for technical documentation as an inoffensive and non-political example. (I tried to send you a video link here but the stupid filter disallowed it. It should know better; I've been active for years on several WMF projects through this account!) SnowyCinema (talk) 20:31, 23 November 2020 (UTC)Reply
Pppery, eEveryone has a thing so asking someone to post a suitable video link vs just comment on yours is a good idea. That one would not bother me at all as I simply would not pay attention to it. Emikulic (talk) 20:45, 21 December 2020 (UTC)Reply
Admittedly I might be sensitized to it because I was raised in a Baptist church. That being said, I don't think we should say "it's just a hypothetical so there's no reason to bother", especially when we have so many potential alternatives. I'll probably poke around and see if I can find something else after a bit. 「ディノ奴千?!」☎ Dinoguy100023:01, 3 June 2020 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Latest comment: 6 years ago3 comments2 people in discussion
If you are using EmbedVideo in combination with Extension:WikiEditor, you might want to make it easier for your users to insert a video. It is quite easy to add an icon to the toolbar which automatically inserts the code snippet required for embedding. Simply add the following to you LocalSettings.php:
Then, open the page "MediaWiki:Common.js" on your wiki and insert the following:
varcustomizeToolbar=function(){$('#wpTextbox1').wikiEditor('addToToolbar',{section:'advanced',group:'insert',tools:{"Video":{label:'Embed video',type:'button',icon:'//upload.wikimedia.org/wikipedia/commons/6/64/Video_Camera_-_The_Noun_Project.svg',action:{type:'encapsulate',options:{pre:'{{#ev:youtube|',peri:"Link to YouTube video",post:'|400|right|Caption}}'}}}}});};/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */if(['edit','submit'].indexOf(mw.config.get('wgAction'))!==-1){mw.loader.using('user.options').then(function(){if(mw.user.options.get('usebetatoolbar')==1){$.when(mw.loader.using('ext.wikiEditor'),$.ready).then(customizeToolbar);}});}
Latest comment: 5 years ago1 comment1 person in discussion
Embedded videos don't appear nicely in the VisualEditor, is it possible for this to be fixed, or to add some wikitext surrounding the video that'll hide it when the VisualEditor is opened? Garuda3 (talk) 19:44, 4 December 2020 (UTC)Reply
mp4 upload fails when EmbedVideo extension enabled
Latest comment: 5 years ago2 comments2 people in discussion
I just installed the EmbedVideo extension on my personal wiki (1.35.1) and it works fine with .mp4 files that had previously been uploaded to my wiki. After enabling the extension I tried to upload a new .mp4 to the wiki and I get the following internal error message. I can upload other file types (e.g. *.pdf) fine.
Below is what I have in my LocalSettings.php. If I comment out the wfLoadExtension( 'EmbedVideo' ); line then I am able to upload .mp4 files no problem. So, as a work around that is what i'm doing. After uploading the files I then uncomment that line and the EmbedVideo extension works fine.
[[file:Apollo 11 Landing - first steps on the moon.ogv|frame|left|Video: [[wikipedia:Apollo 11|Apollo 11]].]]
[[file:The Eagle Has Landed, The Flight of Apollo 11, 1969.webm|frame|left|Video: Apollo 11.]]
Latest comment: 5 years ago2 comments2 people in discussion
Due to GDPR, websites are required to use privacy enhanced embedding for YouTube videos. The extension currently doesn't seem able to parse the privacy enhanced urls which are hosted on a different urls (youtube-nocookie dot com/embed/[YouTubeVideoID]) instead https://www.youtube.com/watch?v=[YouTubeVideoID].
This is what the iframe embed code from YouTube looks like <iframe width="560" height="315" src="https://www.youtube-nocookie dot com/embed/[YouTubeVideoID]" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
@OP: You sure your extension isn't broken/outdated or it's an issue with YT video you try to embed?
I use EmbedVideo on a 1.35.x MediaWiki with the 1.35 master extension files currently and the <youtube width=450px></youtube> embed code still work for me. CayceP (talk) 19:43, 6 April 2021 (UTC)Reply
Mine went funky as well and can be viewed at www.liberty.wiki . Getting this error:
Deprecated: EmbedVideo's extension.json or skin.json does not have manifest_version, this is deprecated since MediaWiki 1.29 in /home2/liberwf9/public_html/includes/debug/MWDebug.php on line 376
Deprecated: Premature access to service container [Called from ConfigFactory::getDefaultInstance in /home2/liberwf9/public_html/includes/config/ConfigFactory.php at line 52] in /home2/liberwf9/public_html/includes/debug/MWDebug.php on line 376
Deprecated: Premature access to service 'HookContainer' [Called from MediaWiki\MediaWikiServices::getInstance in /home2/liberwf9/public_html/includes/MediaWikiServices.php at line 252] in /home2/liberwf9/public_html/includes/debug/MWDebug.php on line 376
Deprecated: Premature access to service 'ObjectFactory' [Called from Wikimedia\Services\ServiceContainer::{closure} in /home2/liberwf9/public_html/includes/ServiceWiring.php at line 535] in /home2/liberwf9/public_html/includes/debug/MWDebug.php on line 376
Deprecated: Premature access to service 'ConfigFactory' [Called from ConfigFactory::getDefaultInstance in /home2/liberwf9/public_html/includes/config/ConfigFactory.php at line 52] in /home2/liberwf9/public_html/includes/debug/MWDebug.php on line 376
Deprecated: Premature access to service 'BootstrapConfig' [Called from Wikimedia\Services\ServiceContainer::{closure} in /home2/liberwf9/public_html/includes/ServiceWiring.php at line 277] in /home2/liberwf9/public_html/includes/debug/MWDebug.php on line 376Haseloffjr (talk) 02:52, 30 May 2021 (UTC)Reply
Latest comment: 5 years ago13 comments6 people in discussion
Could it be that this extension to 1.36 is not yet running? I always have the following error:
Deprecated: Premature access to service container [Called from EmbedVideoHooks::onExtension in /var/www/html/extensions/EmbedVideo/EmbedVideo.hooks.php at line 77] in /var/www/html/includes/debug/MWDebug.php on line 376
Deprecated: Premature access to service 'HookContainer' [Called from MediaWiki\MediaWikiServices::getInstance in /var/www/html/includes/MediaWikiServices.php at line 252] in /var/www/html/includes/debug/MWDebug.php on line 376
Deprecated: Premature access to service 'ObjectFactory' [Called from Wikimedia\Services\ServiceContainer::{closure} in /var/www/html/includes/ServiceWiring.php at line 535] in /var/www/html/includes/debug/MWDebug.php on line 376
Deprecated: Premature access to service 'ConfigFactory' [Called from EmbedVideoHooks::onExtension in /var/www/html/extensions/EmbedVideo/EmbedVideo.hooks.php at line 77] in /var/www/html/includes/debug/MWDebug.php on line 376
Deprecated: Premature access to service 'BootstrapConfig' [Called from Wikimedia\Services\ServiceContainer::{closure} in /var/www/html/includes/ServiceWiring.php at line 277] in /var/www/html/includes/debug/MWDebug.php on line 376Josua Koenig (talk) 09:48, 7 June 2021 (UTC)Reply
The GitLab repo hasn't been updated since 8 months.
I've heard that after the gamepedia + fandom merge they are taking every extension in-house, so stuff like embed video won't be maintained anymore Octfx (talk) 14:28, 6 July 2021 (UTC)Reply
@Octfx Fandom just activated EmbedVideo across all of Fandom today, so they're bound to continue maintaining this. With Fandom on 1.33, I wouldn't expect them to work on this extension until they start working on their next MW upgrade. ~SuperHamsterTalkContribs18:28, 11 August 2021 (UTC)Reply
Dinoguy100: does Extension:Widgets allow for playing local videos? I did not see that capability mentioned at Extension:Widgets . Perhaps there is another option?
we use EmbedVideo just for local iphone generate videos and not for youtube etc.
I think for that you'd want to use Widget:Video, though I've never used it myself and can't offer any help with it. That being said, if Ext:EmbedVideo is working fine on your wiki and you have no strong reasons to migrate away from it, you should probably just keep using it for the present, and keep Ext:Widgets as a backup for if EmbedVideo stops working for you one day. 「ディノ奴千?!」☎ Dinoguy100019:38, 10 August 2021 (UTC)Reply
I agree with you. We have EV working on 1.34 and 1.36 now [ at the start of my questions I did not know about StarCitizenWiki's extension ].
So continued the thread to learn about possible options later on.
In any case we will be using 1.34 until the awful T212428 bug is fixed.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
On MediaWiki 1.35.2, I have error reporting on, and on every page that contains an embedded audio clip, there is an error message reading as such:
Notice: Undefined variable: class in /var/www/html/extensions/EmbedVideo/classes/media/AudioTransformOutput.php on line 102
Looking online, quite a few other wikis with EmbedAudio seem to be having error messages (if they have left the error reporting on), though, as with mine, functionality seems intact. Any ideas as to what's going on? Maf654321 (talk) 15:30, 15 June 2021 (UTC)Reply
in file extensions\EmbedVideo\classes\media\AudioTransformOutput.php
before
if (!empty($options['img-class'])) {
The same error is in extensions\EmbedVideo\classes\media\VideoTransformOutput.php.
The reason is simple: the function returns the media class at the end of the file. If this class does not exist, the function does not create an empty class variable, but still tries to return it: D
Moreover, I think this line, at the end of the function in above files is not correct too:
This error was fixed in the merge request 139, but it is only in the branch master: for now no official version was issued containing this patch, so you have to apply yourself the patch or use Git to follow the master branch. ~ Seb35[^_^]11:59, 29 November 2021 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Exception caught: No specifications provided to ArchivedFile constructor.
Latest comment: 3 years ago7 comments3 people in discussion
thanks to the suggestions below we have EmbedVideo working on MW version 1.3.1
Deprecated: Premature access to service container [Called from EmbedVideoHooks::onExtension in /var/www/mediawiki-1.36.1/extensions/EmbedVideo/EmbedVideo.hooks.php at line 77] in /var/www/mediawiki-1.36.1/includes/debug/MWDebug.php on line 376
[Sat Jan 08 22:03:11.725945 2022] [php7:info] [pid ] [client ] PHP Deprecated: Premature access to service container [Called from EmbedVideoHooks::onExtension in ...mediawiki/extensions/EmbedVideo/EmbedVideo.hooks.php at line 77] in ...mediawiki/includes/debug/MWDebug.php on line 375, referer: wiki/Special:SpecialPages
My mistake, tested the wrong archive, the latest one from the git from 2022-01-08 does not produce the PHP Deprecated message under 1.37.1. Sorry and thanks. Pspviwki (talk) 21:54, 8 January 2022 (UTC)Reply
yea it also works here on 1.37.1 .
also i did not do these 2 lines last install , they are probably not necessary. by chance did you install with out these? if so I'll edit top post.
No need to update the top post. Luck just had it I upgraded from 1.29-2 to 1.37.1 two days ago and downloaded extension version just before the fix. When I tested the fix I uploaded again the old version to production by mistake. People usually put the right files to the right places on second attempt. Pspviwki (talk) 19:41, 9 January 2022 (UTC)Reply
I ran in to this error when upgrading from 1.37 to 1.39
made a new mediawiki/extensions/EmbedVideo/EmbedVideo.hooks.php using https://gitlab.com/jmnote/EmbedVideo/-/blob/master/EmbedVideo.hooks.php RobFantini (talk) 21:20, 4 December 2022 (UTC)Reply
Latest comment: 3 years ago3 comments3 people in discussion
Deprecated: Premature access to service container [Called from EmbedVideoHooks::onExtension in C:\Users\Chris\Desktop\server\mediawiki-1.38.2-0\apps\mediawiki\htdocs\extensions\EmbedVideo\EmbedVideo.hooks.php at line 77]
Deprecated: Premature access to service 'ConfigFactory' [Called from EmbedVideoHooks::onExtension in C:\Users\Chris\Desktop\server\mediawiki-1.38.2-0\apps\mediawiki\htdocs\extensions\EmbedVideo\EmbedVideo.hooks.php at line 77] in C:\Users\Chris\Desktop\server\mediawiki-1.38.2-0\apps\mediawiki\htdocs\includes\debug\MWDebug.php on line 377Christharp (talk) 15:49, 3 August 2022 (UTC)Reply
These deprecation notices seem to have been solved by a developer of the extension:
You can easily change yourself the few lines of code that cause that.
Warning : as of today, these changes have not yet been merged into the master branch of code, so you should test to make sure it doesn't break the extension. FunkyBeats99 (talk) 15:57, 4 November 2022 (UTC)Reply
Hello
I ran in to this error when upgrading from 1.37 to 1.39
made a new mediawiki/extensions/EmbedVideo/EmbedVideo.hooks.php using https://gitlab.com/jmnote/EmbedVideo/-/blob/master/EmbedVideo.hooks.php RobFantini (talk) 21:18, 4 December 2022 (UTC)Reply
Something's preventing YT embeds from working properly on my wiki
Any way we can embed videos from the new MS Office, which uses SharePoint as a back end? Been uploading to MS Stream separately, and that works but it's a pain.
Latest comment: 3 years ago1 comment1 person in discussion
Is it possible to use this within a gallery tag? I suppose there's not really much need to, I guess just call it a old habit dealing with a easer way of aligning files on pages. Dave247 (talk) 16:38, 9 December 2022 (UTC)Reply
Original EmbedVideo isn't developed anymore since Gamepedia has been bought out by Fandom, and incorporated entirely into Fandom's platform. There's a fork by Star Citizen Wiki that keeps the extension maintained for everyone else - it's linked at the top of the page here, under GDPR-compliant fork. Alex44019 (talk) 05:44, 19 January 2023 (UTC)Reply
I don't know if there's another way, but you might want to change the video's status to unlisted instead of private to easily embed it. FFSTalk21:36, 2 May 2023 (UTC)Reply
Separate from the potential rename, this one should probably be archived. If Fandom ever decides to re-open-source their stuff, and have been maintaining/developing EmbedVideo in that time, it can be unarchived.
As for the rename itself, it's worth noting that extensions listed on Special:Version often link to their MW.org Extension: pages, and EmbedVideo is no exception; if the pages are renamed, this means people following one of these links will end up in the wrong place. 「ディノ奴千?!」☎ Dinoguy100018:44, 5 May 2023 (UTC)Reply
What if this version isn't actually unmaintained as it was picked up after the Fandom and Gamepedia purchase and continues to be maintained, albeit for their platform at least and it can be viewed at the new location here github.com/Wikia/EmbedVideo while the gitlab repo is just the legacy version when Gamepedia was still around. Surafbrov (talk) 21:03, 7 June 2023 (UTC)Reply
Not sure, however, in the meantime it is best to keep things as they are. A pointer to the fork is at the top of the page now. Everybody can use their preferred make of the extension. [[kgh]] (talk) 07:47, 8 June 2023 (UTC)Reply
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
FFmpeg is only invoked for local files through the respective audio and video mediahandlers (at least when using the forked version). Octfx (talk) 13:37, 17 October 2023 (UTC)Reply
Nevermind, this is already supported by using {{#ev:twitchclip|DarlingVibrantBottleKappaClaus}}. It just was not documented properly, which I already fixed.