bbcode keeps autoplaying

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

bbcode keeps autoplaying

Post by JohnnyBigSpuds »

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
I've Been Banned!
Posts: 1609
Joined: Tue Aug 14, 2012 11:52 pm

Re: bbcode keeps autoplaying

Post by ViolaF »

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: 26546
Joined: Fri Aug 29, 2008 9:49 am

Re: bbcode keeps autoplaying

Post by Mick »

It’s already set at false according to the code supplied.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
ViolaF
I've Been Banned!
Posts: 1609
Joined: Tue Aug 14, 2012 11:52 pm

Re: bbcode keeps autoplaying

Post by ViolaF »

so the user had someting set to "true" :mrgreen:
JohnnyBigSpuds
Registered User
Posts: 126
Joined: Tue Apr 22, 2014 5:49 pm

Re: bbcode keeps autoplaying

Post by JohnnyBigSpuds »

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

thinking it would cure it, but it didnt
User avatar
ViolaF
I've Been Banned!
Posts: 1609
Joined: Tue Aug 14, 2012 11:52 pm

Re: bbcode keeps autoplaying

Post by ViolaF »

We must have the complete "build-in" from you.
How the Script (The Player) is implemented?
User avatar
mrgoldy
Former Team Member
Posts: 1394
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs
Contact:

Re: bbcode keeps autoplaying

Post by mrgoldy »

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 / Member of the Studio

Contributing: You can do it too! Including testing Pull Requests (PR).
phpBB Development and Testing made easy.
User avatar
ViolaF
I've Been Banned!
Posts: 1609
Joined: Tue Aug 14, 2012 11:52 pm

Re: bbcode keeps autoplaying

Post by ViolaF »

mrgoldy wrote: Wed May 01, 2019 1:22 pmIt 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: 69224
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: bbcode keeps autoplaying

Post by Lumpy Burgertushie »

Code: Select all

allowfullscreen="true  
note missing closing quote.


robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
Post Reply

Return to “Custom BBCode Development and Requests”