bbcode keeps autoplaying

Get help developing custom BBCodes or request one.
Post Reply
JohnnyBigSpuds
Registered User
Posts: 115
Joined: Tue Apr 22, 2014 5:49 pm

bbcode keeps autoplaying

Post by JohnnyBigSpuds » Sun Apr 28, 2019 11:15 pm

i have this code

Examples

Code: Select all

 [flv]{URL}[/flv]  
HTML replacement

Code: Select all

<embed src="{URL}" width="640" height="360" allowfullscreen="true  flashvars="file={URL}&autostart=false&lightcolor=0xffcc00"/>
And it plays .mp4s and .flvs perfect

( i had to upload player either " player_flv_maxi.swf " or "player2.swf and jwplayer.js "

not sure which one the code works with, but how on earth do you stop them autoplaying?
i have 10 shows ( from public domain ) uploaded to my site and on a page, all players show fine
but they all start playing and you have to turn 9 of them off lol

any help please?
Last edited by Mick on Mon Apr 29, 2019 6:06 pm, edited 1 time in total.

User avatar
ViolaF
Registered User
Posts: 1441
Joined: Tue Aug 14, 2012 11:52 pm

Re: bbcode keeps autoplaying

Post by ViolaF » Mon Apr 29, 2019 4:30 pm

https://support.jwplayer.com/articles/h ... -page-load

you have to switch
autostart: true,
to
autostart: false,

User avatar
Mick
Support Team Member
Support Team Member
Posts: 21053
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket - definitely

Re: bbcode keeps autoplaying

Post by Mick » Mon Apr 29, 2019 6:07 pm

It’s already set at false according to the code supplied.
"The more connected we get the more alone we become" - Kyle Broflovski

User avatar
ViolaF
Registered User
Posts: 1441
Joined: Tue Aug 14, 2012 11:52 pm

Re: bbcode keeps autoplaying

Post by ViolaF » Mon Apr 29, 2019 9:08 pm

so the user had someting set to "true" :mrgreen:

JohnnyBigSpuds
Registered User
Posts: 115
Joined: Tue Apr 22, 2014 5:49 pm

Re: bbcode keeps autoplaying

Post by JohnnyBigSpuds » Mon Apr 29, 2019 9:57 pm

i added the line
flashvars="file={URL}&autostart=false&lightcolor=0xffcc00"

thinking it would cure it, but it didnt

User avatar
ViolaF
Registered User
Posts: 1441
Joined: Tue Aug 14, 2012 11:52 pm

Re: bbcode keeps autoplaying

Post by ViolaF » Tue Apr 30, 2019 1:15 pm

We must have the complete "build-in" from you.
How the Script (The Player) is implemented?

User avatar
mrgoldy
Jr. Extension Validator
Posts: 1040
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs

Re: bbcode keeps autoplaying

Post by mrgoldy » Wed May 01, 2019 1:22 pm

I would suggest rethinking your approach.

You currently have this code:

Code: Select all

<embed src="{URL}" width="640" height="360" allowfullscreen="true  flashvars="file={URL}&autostart=false&lightcolor=0xffcc00"/>
It looks like you are atleast missing a closing quote:

Code: Select all

<embed src="{URL}" width="640" height="360" allowfullscreen="true" flashvars="file={URL}&autostart=false&lightcolor=0xffcc00"/>
A quick try would be to add the attribute: play="false".

However, I would suggest looking at how s9e handles flash natively and create something accordingly.
Working with <object>, <param> and <embed> elements.
See: https://s9etextformatter.readthedocs.io ... ory/#flash
phpBB Studio / ''Proud member of the Studio"

User avatar
ViolaF
Registered User
Posts: 1441
Joined: Tue Aug 14, 2012 11:52 pm

Re: bbcode keeps autoplaying

Post by ViolaF » Sat May 04, 2019 1:56 pm

mrgoldy wrote:
Wed May 01, 2019 1:22 pm
It looks like you are atleast missing a closing quote
Thanks mrgoldy,

i must clean my glasses, bcs. i don't see this :lol:

User avatar
Lumpy Burgertushie
Registered User
Posts: 66230
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: bbcode keeps autoplaying

Post by Lumpy Burgertushie » Sat May 04, 2019 4:52 pm

Code: Select all

allowfullscreen="true  
note missing closing quote.


robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

Post Reply

Return to “Custom BBCode Development and Requests”