View Issue Details

IDProjectCategoryView StatusLast Update
0003161OXID eShop (all versions)4.07. Source code, Testpublic2012-12-10 13:44
Reporterboehme 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.0 revision 34568 
Target VersionFixed in Version4.6.2 revision 46646 
Summary0003161: oxmediaurl ignores additional get parameters
Descriptionoxmediaurl::_getYoutubeHtml() is creating the html code for embeding the video. This operation converts the url from a browser to the url we can use for embedding:
$sYoutubeUrl = str_replace("www.youtube.com/watch?v=", "www.youtube.com/v/", $sUrl);

For example we have this youtubelink:
http://www.youtube.com/watch?v=GQ3AcPEPbH0&loop=1&rel=0

After the replacement we will have this link:
http://www.youtube.com/v/GQ3AcPEPbH0&loop=1&rel=0

The questionmark was replaced but not moved in frot of the other parameters, which now won't work.
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
MySQL Versionany

Activities

arturas.sevcenko

2012-06-21 11:42

reporter   ~0006944

Changed youtube embed link generating structure.