Project

General

Profile

Actions

Bug #23910

closed

Autostart for Flash Videos does not work

Added by Janos about 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-11-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If you create a CE from type "Media" select an *.flv video file, Check Use Player (only for Shockwave Flash)" and Render Type "Shockwave Flash Browser Plugin". For additional parameter set the option "autoPlay" to "On".

After reloading the page in FE the *.flv file wount start to play until you press the play button.

There is a parameter missmatch betwenn the backend configuration "autoPlay=true|false" and the flvplayer.swf , it listen to "autoStart=true".

An solution could be to change the AS-Code from flvplayer.swf
https://svn.typo3.org/TYPO3v4/Core/trunk/typo3/contrib/flashmedia/src/flvplayer.as
Line: 65
from:
if(_root.autoStart "true") {
to:
if(_root.autoPlay "true") {

(issue imported from #M16214)


Files

patch.patch (608 Bytes) patch.patch Administrator Admin, 2010-11-04 21:29
0016214.patch (659 Bytes) 0016214.patch Administrator Admin, 2010-11-04 21:58

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #32475: Content Element Media - Mp3 playerClosed2011-12-12

Actions
Is duplicate of TYPO3 Core - Bug #21829: Media CE: Autostart with Videos does not workClosedChris topher2009-12-09

Actions
Actions #1

Updated by Chris topher about 14 years ago

Hi Janos,

another idea (from #21829): In sysext/cms/flexform_media.xml change the line that says (was line 136 for me at TYPO3 4.4):
<numIndex index="1">autoPlay</numIndex>
to
<numIndex index="1">autoStart</numIndex>

Which is the "right" solution?

Actions #2

Updated by Janos about 14 years ago

Hello Christopher,

i don't know which is the better solution. In my eyes both are correct, but for a better compatibility it would be better to change the flvplayer.swf. So there would be no change in the CE "media".

But at least i think Steffen Kamper had to decide this, he created this player.

regards Janos

Actions #3

Updated by Chris topher about 14 years ago

I think changing files in the contrib/ folder is no good idea, because these changes will be lost, when the files are updated to a new version.
Therefore I would prefer the solution from #21829.
However, please make a patch file out of the needed changes!

To get your patch integrated, please send it to the Core List!
Check out the guidelines at http://typo3.org/teams/core/core-mailinglist-rules/

If you have further questions, don't hesitate to ask!

Actions #4

Updated by Janos about 14 years ago

Ok,
I'll trie to create the patch with the solution from 0012988. But this will take some time, maybe at the end of this week.

If i have a question, i will ask.

Actions #5

Updated by Janos about 14 years ago

Hello Christopher,

now i created a patch with the solution from 0012988. Can you please check if the patch is correct or not?
This is my first time patch.

Actions #6

Updated by Chris topher about 14 years ago

Hi Janos,

nearly perfect! :-)
You should only change one thing : Please create the patch from TYPO3 "rootlevel", so that the path in the first line looks like typo3/sysext/cms/flexform_media.xml

Then you can send it to Core List as describe in my above post!

Actions #7

Updated by Janos about 14 years ago

Ok,

but only one more question bevore i send the mail.
What is meant by: Also add the tag "pending in core list" to the bug?

For completeness I've attached an updated version of the patch.

Actions #8

Updated by Chris topher about 14 years ago

In the top of this page there is the section called "Tags". In the list of available tags you can choose and then add the tag "Pending in Core List".
That way one can quickly get an overview about those issues.

Actions #9

Updated by Steffen Gebert about 14 years ago

Christopher, in principle you're right that typo3/contrib/ is 3rd party and should not be touch.
The flashmedia player is different, as it was created by Steffen Kamper, so we have full control over it.
Will try to find sb. rebuilding the swf, otherwise will ask himself.

Actions #10

Updated by Steffen Gebert about 14 years ago

Why I prefer this solution: The autoPlay value will still remain in all flexform fields in database and autoStart will only be created additionally.

Actions #11

Updated by Janos about 14 years ago

Hello Steffen,

If you want i can publish the compiled SWF file tomorow. I've done it already for our project.

Actions #12

Updated by Chris topher about 14 years ago

Convinced.

Actions #13

Updated by Steffen Gebert about 14 years ago

Janos, this would be great!

Actions #14

Updated by Steffen Kamper about 14 years ago

Please verify also with Quicktime if it works with autoPlay or autoStart,
otherwise i'm fine with recompilation.

Actions #15

Updated by Janos about 14 years ago

Hello Steffen,

i think this solution should not have any effect for the QT player, because we recompiled the flvplayer.swf.

I've tested the QT-player and it also works fine.

Actions #16

Updated by Steffen Kamper about 14 years ago

Committed to svn
4_3 rev 9289
4_4 rev 9290
trunk rev 9291

Actions #17

Updated by Oliver Hader almost 13 years ago

  • Target version deleted (0)

Strange... cannot find that change anymore in the repository...

Actions #18

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF