Lukket

Javascript for Safari 11

I'm a web designer and I ran into an issue with the new Safari 11 update on Mac. I designed a site where my client wanted to run a background video with sound. It doesn't appear to be working on Safari 11. [url removed, login to view] The new 11 seems to have a feature that blocks all autoplay videos with sound. I've tried to write some javascript to fix the issue by muting it on Safari (and not other browsers) but I need an expert to take a look and make sure it is working and possibly tweak the code. You need to be able to test it on Safari 11.

Here's the script

<script>

$(document).ready(function(){

var isSafari = /constructor/[url removed, login to view]([url removed, login to view]) || (function (p) { return [url removed, login to view]() === "[object SafariRemoteNotification]"; })(!window['safari'] || [url removed, login to view]);

if (isSafari) {

$('#natevid').find('video').attr({

muted: "muted",

onloadedmetadata:"[url removed, login to view] = true"

});

}

});

</script>

Færdigheder: Apple Safari, Javascript, jQuery / Prototype, PHP

Se mere: safari 11 release notes, safari 11 release date, safari 11 webrtc, safari 11.0 release date, safari 11 ios, safari 11 download, safari 11 beta, safari 11 release, how to make sure you get paid as a freelancer, cannot connect to the website please make sure you have entered the correct url you, how much is it to make an app, unity web player requires dx8 level graphics card make sure you have graphics card drivers installed, unity web player requires dx9 level graphics card make sure you have graphics card drivers installed, document ready javascript, debug javascript safari ipad

Om arbejdsgiveren:
( 2 bedømmelser ) Denver, United States

Projekt-ID: #15261416

14 freelancere byder i gennemsnit $130 for dette job

CakephpJobs1

hi i am just encounter with such issue. we can play video even autoplay too on any browser. but some time it does not work so need to mute. Relevant Skills and Experience angularjs, ionic, js, jquery, html5, css Pr Mere

$155 USD in 3 dage
(37 bedømmelser)
6.8
$111 USD in 0 dage
(168 bedømmelser)
6.9
vishwanath89

Hi Mac has a lot of restrictions on videos now. Relevant Skills and Experience Try these $("video").get(0).play(); $('video').trigger('play'); <video autoplay controls muted preload-= "none"> Not skilled in wordpr Mere

$55 USD in 3 dage
(40 bedømmelser)
5.8
Harvey888

Hello! I have checked your requirements carefully. Your project description sounds interesting to me and I do have skills & experience that are required to complete it to a high standard. I am ready to work for you Mere

$155 USD in 3 dage
(31 bedømmelser)
5.3
$35 USD in 3 dage
(6 bedømmelser)
3.4
$155 USD in 2 dage
(2 bedømmelser)
3.2
stivens

Hello, I can help you with this. I have safari 11 to test results. Please message me. I am available to work on this right now. Thank you

$30 USD på 1 dag
(8 bedømmelser)
2.4
kil1967

let me chat Stay tuned, I'm still working on this proposal.

$200 USD in 3 dage
(1 bedømmelse)
2.2
iflixweb

Hello!, easy [url removed, login to view] here for help you... best, Imesh Relevant Skills and Experience webkit,html5,javascript,html5,jquiery Proposed Milestones $72 USD - For complete the task Would you like to provide me a chanc Mere

$72 USD på 1 dag
(2 bedømmelser)
2.4
varinderkaurcode

Yes after go through your job details I assure to you that I am complete it using my development skills . Please feel free to ask if you have query? Thanks Relevant Skills and Experience Yes I have skills and experi Mere

$277 USD in 3 dage
(1 bedømmelse)
1.2
Tuffgeekers

Hi There, How are you today? I am sending my resume in response to your recent post for a Java Developer to join your software development team at Coding Infinity. Relevant Skills and Experience With more than seve Mere

$250 USD in 3 dage
(2 bedømmelser)
0.9
bergmann0222

Hello, How are you? I read your requirement carefully. I think I can fix your problem because of my rich experience and deep knowledge on web development. Relevant Skills and Experience As You can see from my profile Mere

$155 USD in 3 dage
(2 bedømmelser)
1.0
Wepdroid

Hi, Greetings! Embarking my excellence in the world of technology I have five years of experience in the development field of web and mobile applications. With the vision of serving every business enterprise with Mere

$133 USD in 3 dage
(0 bedømmelser)
0.0
inovatiqwebtech

yes sure,we have great experience with JavaScript,jQuery,safari issue.

$35 USD in 5 dage
(0 bedømmelser)
0.0