Extension talk:TimedMediaHandler

Jump to: navigation, search

About this board

By clicking "Add topic", you agree to our Terms of Use and agree to irrevocably release your text under the CC BY-SA 3.0 License and GFDL

TimedMediaHandler directly links to file even on HTML5 browsers after upgrading

3
98.196.93.46 (talkcontribs)

I tried Firefox and Chrome with a webm file and it would just direct link to the file and give the prompt.

TimedMediaHandler used to work before I upgraded from MW 1.23 to 1.25

Can anyone help?

ComputeVictory (talkcontribs)

Additionally, I am using the REL1_25 versions of TimedMediaHandler and MwEmbedSupport

This is the log I got while trying to find the problem

processEmbedPlayers:: Do: 1 players EmbedPlayer:: addElement:: mwe_player_0 EmbedTypes::detectPlayers running detect EmbedTypes::addJavaPlayer: adding cortadoPlayer (19) EmbedPlayer::trigger:embedPlayerUpdateMediaPlayersEvent processEmbedPlayers::runPlayerSwap::mwe_player_0 EmbedPlayer: initEmbedPlayer: 800 EmbedPlayer::init:mwe_player_0 duration is: 310.294 EmbedPlayer::mediaElement:init:mwe_player_0 processEmbedPlayers::swapEmbedPlayerElement: mwe_player_0 processEmbedPlayers::trigger:: EmbedPlayerNewPlayer mwe_player_0 TimedText: init() EmbedPlayer::addPlayerElement :trigger startPlayerBuildOut:mwe_player_0 EmbedPlayer::checkPlayerSources: mwe_player_0 EmbedPlayer::setupSourcePlayer: mwe_player_0 sources: 2 EmbedPlayer::mediaElement::autoSelectSource MediaElement::GetPlayableSources mimeFilter:undefined 0 sources playable out of 2 EmbedPlayer::showPlayerError MediaElement::GetPlayableSources mimeFilter:undefined 0 sources playable out of 2 EmbedPlayer:updatePosterHTML::mwe_player_0 load.ph...214618Z (line 12976) mw.PlayerControlBuilder: addWarningBinding: EmbedPlayer.ShowNativeWarning wm: For a better video playback experience we recommend an <a href="//www.mediawiki.org/wiki/Extension:TimedMediaHandler/Client_download" target="_blank">HTML5 video browser</a>. EmbedPlayer:: setupSourcePlayer > player ready ( but with errors ) EmbedPlayer:: Trigger: widgetLoaded

ComputeVictory (talkcontribs)

Never mind I found the cause of the problem at T91431

Reply to "TimedMediaHandler directly links to file even on HTML5 browsers after upgrading"
Mattflaschen (talkcontribs)

What's the source for MP3 patents expiring in 2012? A Big List of MP3 Patents (and supposed expiration dates) has some lasting to 2017. It is possible A Big List is wrong. Nevertheless, a source for 2012 would be useful.

This post was posted by Mattflaschen, but signed as Superm401.

Reply to "MP3 patents"

Where to find mwEmbedSupport extension

3
206.248.163.58 (talkcontribs)

I'm trying to install your extension but i'm stuck at first step. How/where cna i find the mwembedsupport extension that needs to be installed. Furthermore, the firefogg files are available for all major platforms. So once i download the one from the source, where do i place it in relation to my server, within the extensions or anywhere in my server. Similarly it also says I need a copy of ffmpeg2theor in my server and I'm not clear for that too. I'm guessing the suggested configuration lines is for comman line instructions for the settings and do we run that from root or from specific folder. Obviously I'm a bit of a starter so my question may sound very simple or studid but I apologize if it comes off like that. I've always had a difficulty of how we can install programs made for linux, windows, mac being 'installed' on my server. Thanks MW1.17, apache server, php 5.3, shared host.

This post was posted by 206.248.163.58, but signed as Wikimanz.

Mdale (talkcontribs)

You can get mwEmbedSupport from the same parent directory as TimedMediaHandler: http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/MwEmbedSupport/

You need to setup the paths in the local settings for your encoder binaries see the README for more info

You may have some challenges running this off of a shared host because it includes transcoding support dependent on shell scripts / cron jobs.

TheAlmightyGuru (talkcontribs)

Is there any way to get an easier download of MwEmbedSupport rather than downloading all those files and creating the folders manually?

Alternately, is MwEmbedSupport necessary if I'm not using the transcoding features of TimeMediaHandler? I run a audio-themed Wiki, and I'm looking into updating from the old OggHandler extension to this one, but I don't need any video features.

Reply to "Where to find mwEmbedSupport extension"
Cpiral (talkcontribs)

Would someone please fix the link to the screen shots?

Reply to "Screen shot"
85.80.205.112 (talkcontribs)

I'm getting the following error: Failed opening required 'File/Ogg.php' being thrown from extensions/TimedMediaHandler/handlers/OggHandler/OggHandler.php on line 12.

There's a folder called File in the PEAR subfolder, which contains the Ogg.php. However, changing the line of code to that (or copying the File directory and placing it in the OggHandler folder) will then get a new error thrown:

Failed opening required 'PEAR.php' from extensions/TimedMediaHandler/handlers/OggHandler/File/Ogg.php on line 114.

Any ideas?

Thannks. Peter.

Andreas Plank (talkcontribs)

If you have installed the php-pear package (or whatever the PHP pear packe is named) and this error still occours, than PHP does not find the PEAR.php file from the php-pear package. Make sure that PEAR is found. Check the include_path in php.ini

My solution was to add include_path=".:/usr/share/php5/PEAR/" to my php.ini

RigganRose (talkcontribs)

Can you provide a detailed, simplified walkthrough on how to get Pear installed and configured properly so the TimedMediaHandler extension functions correctly? I have read a ton of info and instructions, and I am still at a loss on what to do. My media extension refuses to work. All I need to do is get the embed player to appear inside the Template:Listen box.

Andreas Plank (talkcontribs)

Difficult to provide details from your vague “how to get Pear installed and configured properly” (what system, architecture, environment?). I cannot guess what help you exactly need to succeed in installing and configuring. Regarding Pear installation generally:

  • just follow the official instructions step by step, documented on http://pear.php.net
  • if you have a software manager that provides Pear as well then you can try to use a package instead that is offered by your distribution. But again: follow official instruction. I'm confident, they are out there ;-)
RigganRose (talkcontribs)
Version Info
MediaWiki 1.24.1
PHP 5.4.37 (cgi-fcgi)
MySQL 5.1.56-log
Lua 5.1.5

(Windows)

I will kindly state it again; I have read a ton of info and instructions, and I am still at a loss on what to do. I have tried to follow the instructions, with your added emphasis on follow, at the link you provided. I've also spent hours trying to sort out the instructions on the TimedMediaHandler page. Have tried (and tried). There are too many gaps of unexplained details, otherwise I would've never resorted to spending three days asking questions on forums and support pages where the common reply is typically: follow the instructions.

I can understand your reluctance to provide a walkthrough, as Pear seems to be quite the headache in common consensus.

Here's another question I've tried asking people but have yet to receive a response:

Is there another media extension that would work? All I want to do is embed a short audio clip in the Listen box. That's it. All the severe gas I'm getting in dealing with this Pear nightmare seems a bit overkill for what I need. I have tried other extensions and have gotten them to work (easily), but so far, have not figured out a way to actually get the player embedded inside the listen box which is the ultimate goal.

Andreas Plank (talkcontribs)

Hi, as you stated you have read a lot, OK we now know twice, but that‘s not your real issue. You want PEAR to be installed on Windows then use or check out for a fitting subject thread, be precise and detailed in providing error messages, warnings etc. so that people can help you most. We want to help you on this—that‘s the purpose of these forums—but telling the issue just vague is not effective.

  1. I don't know how to install PEAR on Windows—so I can't help you here. And this very issue is probably misplaced here in the thread “Missing or misplaced files”. You know what I mean. You haven’t got to the step that PEAR is already installed and working, you know. There is a German documentation page to install PEAR on Windows 7 and PHP 5.4 but it also states that it is difficult and is a complicated installation by hand :-/. To understand those pages you can try to use machine translation services that translate URLs.
  2. The other issue is configuring Extension:TimedMediaHandler but you are not there yet. If you get thee same error messages as above in this thread then my solution might bring you closer to the solution, if you have other error messages that are totally not related to this thread than check it out or open a new thread.
  3. Is there another media extension that would work?

That‘s (almost) all I can help you with.

RigganRose (talkcontribs)

Yes, I stated it twice. I typically do this when I initially state I've read the instructions but am confused, and someone replies and tells me to follow the instructions. In that instance I feel it should be asserted again, and seemingly effectively so, for despite your attempt to paint the gesture as frivolous, this time you've responded with an actual link to info I've not yet seen, and I thank you. That's easily further than I've gotten in days of rewriting/rephrasing the issue on various outlets.

Thanks.

Reply to "Missing or misplaced files"
RigganRose (talkcontribs)

Does anyone have a simplified walkthrough on how to properly install Pear and get it configured? The instructions on the TimedMediaHandler page are confusing at best, and no one seems to have any helpful info. I cannot get TimedMediaHandler working until Pear is installed and running. I am at a total loss. Can anyone please help?

Reply to "Help with installing/configuring PEAR"
Vapblack (talkcontribs)

Greetings all. I'm using mediawiki 1.24.0 and I have the extensions installed, they show in special:version.

When I upload a video, and call it with it shows as a red link. When I go to the upload log, it shows the file there. If I click the file from its file page, it plays fine. Just cant load it on an article.

I tried ogg and webm both do the same.

I have timedmediahandler and mwembedsupport.

What am I missing here?

Reply to "videos don't show on page"
63.144.65.106 (talkcontribs)

Thanks for a writing a great extension. It is working perfectly for me in chrome, firefox, and for mobile devices. I cannot get the flash fallback to work, however. In IE9 I get the notification "For a better video playback experience we recommend an HTML5 video browser." and when I click play it tries to download the webm version of the file. I've made sure to enable transcoding to h264 which completed successfully. I've tried setting EmbedPlayer.DisableVideoTagSupport to true for debugging. This causes all browsers to behave similarly - ie trying to download the file. Is there a setting I'm missing to enable the flash fallback player?

Bawolff (talkcontribs)

Keep in mind, the flash fallback is not used on Wikimedia, and hence nobody has tested it in years, so perhaps its just broken.

You need to set the following at the bottom of LocalSettings.php

$wgMwEmbedModuleConfig['EmbedPlayer.DisableHTML5FlashFallback' ] = false;
Reply to "flash fallback doesn't work"

Wiki with Multimedia Viewer and TimedMedia

1
31.61.140.142 (talkcontribs)

Does anybody know how to combine Multimedia Viewer and TimedMedia extensions in one wiki. It works on Wikipedia, but in my case doesn't. I need Multimedia viewer functionality to present images at full screen. Thanks for tips in advance. Peter

Reply to "Wiki with Multimedia Viewer and TimedMedia"
Nemo bis (talkcontribs)

Extension:TimedMediaHandler#Minimal_install_under_Ubuntu_12.04 doesn't sound very good, those repositories have not been updated since 2011; also, it conflicts with advice above which says to use a firefogg repository. How about libav, ibvpx?

Nemo bis (talkcontribs)

I've also filed phab:T86477 for further simplification. In the meanwhile I checked the readme and the following commands were enough for me to embed a WebM video from Commons (might be different when not using apt.wikimedia.org though):

apt-get libav-tools oggvideotools ffmpeg2theora
nano LocalSettings.php # Enable mwEmbedSupport, TimedMediaHandler, InstantCommons
php maintenance/update.php
php maintenance/rebuildLocalisationCache.php # Update magic words to avoid exceptions, if using l10n cache
Reply to "Update minimal install instructions"