jquery - HTML5 Video not auto playing when using ended function -
Get link
Facebook
X
Pinterest
Email
Other Apps
-
I have an HTML5 video background of my website, once played through it, then directs an anchor link
This works very well, my only issue once, when I implement the function to direct anchor link, the video auto runs !!
The website is based on FullPage.js
This code is for my video function:
$ (document) .ready (function () {$ ('# Fullpage'). Fullpage ({vertical centered: true, squareclosure: ['#FFF', '#FFF', '#FFF', 'FF', 'FF'], Anchor: ['First Page ',' Second page ',' third page ',' 4 page '' final page '], menu:' # menu ', followed by the rudder: function () {// Video $ ("# myVideo") Play ( ). Load the code in this video ("end", function load () {window.location. Hash = "secondpage"}}}}}})}}
& Lt; video autoplay control id = "myvideo"> >
Cheers
You should take a look at the examples available with the background video in the fullpage.js website:
$ (document) .ready (function () {$ ('# Fullpage'). Fullpage ({vertical centered: true, class color: ['# 1 BBC 9B', '# 4BBFC3', '# 7BAABE'], after reader: function () {// video $ ('video') Playing. Get (0) .play ();}})}};
I have many controllers in my Spring-boot (1.1.4.RELEASE) / Spring-Security application that I want However, running some integration tests, I do not know how the authentication is handled to make the request. This is my test: @ContextConfiguration (classes = OFAC, loader = SpringApplicationContextLoader) @ Transaction @WebAppConfiguration @IntegrationTest Class AdminControllerIntegrationTest Specification {def adminUrl = "http: / / / Localhost: 9001 / admin "@Autowired Personal AdminController AdminController Expands; DEF "Testing to retrieve users from DB table" () {def model = Fake (Model) RestTemplate restTemplate = New TestRestTemplate () when: DEF result = restTemplate.getForEntity (adminUrl, String.class, model) Then: Results ! = Null} This is my security configuration: @configuration @ EnableWebMvc security public class ApplicationSecurity WebSecurityConfigurerAdapter Extended {@Autowired Private CustomUserDetailsService customUserDetailsServi...
Unable to load webpage because the server has not sent any data. Error code: ERR_EMPTY_RESPONSE My local nodjs setup is inadvertently unresponsive when I refresh my computer then it works fine but it keeps giving me the following message in my code Some things are wrong // dependencies var path = requirement ('path'); Var Express = Required ('Express'); Var http = Required ('http'); Var Mongos = Expected ('mongos'); Var passport = requirement ('passport'); Var localtrazage = requires ('passport-local'). Strategy; Var schemas = required ('./ schema / schema'); // main configuration var app = express (); App.set ('port', process.env.port || 3000); App.set ('views', __dirname + '/ views'); App.set ('visual engine', 'z'); App.set ('View Option', {Layout: Incorrect}); App.use (express.logger ()); App.use (express.bodyParser ()); App.use (express.methodOverride ()); App.use (e...
Comments
Post a Comment