Topic on Extension talk:IframePage

RibeyeOnTheBone (talkcontribs)

I seem to have the IframePage installed ok. Showing as installed on the Versions page, for example.

Except, only hard coded URL is working. When I try to use the path as a parameter for the video number Vemio is giving "oops. The embedded code for this video is not valid".

Localsettings.php

require_once "$IP/extensions/IframePage/IframePage.php";

$wgIframePageSrc = array( 'Vimeo' => 'https://player.vimeo.com/video/' );

$wgIframePageAllowPath = true;

URL

/index.php?title=Special:IframePage/Vimeo?path=138841991

The following in the Localsettings.ini , with hard coded video id works as excepted

$wgIframePageSrc = array( 'Vimeo' => 'https://player.vimeo.com/video/138841991'

);

What I am doing wrong? Is there an approach to de-bugging?

Tosfos (talkcontribs)

It looks like the path is the issue. Two question marks in a path won't work. Try it with:

/index.php?title=Special:IframePage/Vimeo&path=138841991

Reply to "Getting path going"