Im getting SyntaxError: Parse Error, only on safari. Here is the code in question.
<script type="text/javascript">
$(document).ready(function() {
$("form").transload({
auth: {key: "b7deac9c96af6c745e914e25d0350baa"},
flow: {
encode: {
"use": ":original",
"robot": "/video/encode",
"preset": "flash",
"width": 480,
"height": 320
},
encode_iphone: {
"use": ":original",
"robot": "/video/encode",
"preset": "iphone"
},
export: {
"use": ["encode","encode_iphone"],
"robot": "/s3/store"
}
}
});
});
</script>
I am using transloadit a jquery plugin. which works on every other page and is loading fine on safari by the looks of it.
The errors is on line 44 which is
export: {
Can anyone see anything wrong with that page?