brew install ios-webkit-debug-proxy
Run the simulator. And choose an iOS 10 device. The chrome remote debugging doesn't work with iOS 11 yet.
import { NgModule } from '@angular/core'; | |
import { AngularFireModule } from 'angularfire2'; | |
import { AngularFirestoreModule } from 'angularfire2/firestore'; | |
import { AngularFireAuthModule } from 'angularfire2/auth'; | |
import { AngularFireStorageModule } from 'angularfire2/storage'; | |
import { environment } from '../../environments/environment'; | |
import { FirestoreService } from './firestore.service'; | |
import { StorageService } from './storage.service'; |
namespace Client.Web | |
{ | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Mvc; | |
using Models; | |
using Newtonsoft.Json; | |
using Umbraco.Core.Models; |
using FluentAssertions; | |
using Inferno.Services.MediaCMS.Controllers; | |
using NSubstitute; | |
using Umbraco.Core; | |
using Umbraco.Core.Models; | |
using Umbraco.Core.Models.EntityBase; | |
using Xunit; | |
namespace Inferno.Services.MediaCMS.Tests.Controllers | |
{ |
@using FEE.Domain | |
@inherits UmbracoTemplatePage | |
@{ | |
Layout = "FEEMaster.cshtml"; | |
var featuredImage = CoverImageProvider.GetCoverImageOrDefault(CurrentPage.featuredImage); | |
} | |
@section bodyClass {subpage} | |
@*TODO maybe implement:https://github.com/warrenbuckley/CWS-Umbraco-Standard-Membership/blob/master/CWSUmbracoStandardMembership/Views/AuthSurface/ResetPassword.cshtml |
2 - Autos & Vehicles | |
1 - Film & Animation | |
10 - Music | |
15 - Pets & Animals | |
17 - Sports | |
18 - Short Movies | |
19 - Travel & Events | |
20 - Gaming | |
21 - Videoblogging | |
22 - People & Blogs |
request = require 'request' | |
youTubeMovieInfo = | |
youTubeMovieId: 'videoId' | |
url = "http://www.youtube.com/get_video_info?video_id=#{youTubeMovieInfo.youTubeMovieId}" | |
request.get url, (err, res, body) -> | |
return callback(false) if err | |
return callback(false) if res.statusCode isnt 200 |
<script>(function(){ | |
/* | |
This script is an alternative to the 'Add JavaScript API support to all YouTube videos' | |
setting in GTM's YT trigger. GTM's YT trigger will not load the YT API if no videos are | |
present at page load (it does add the enablejsapi param to dynanmically inserted videos, | |
but it will not load the YT API js). This script, on the other hand, should work in all cases. | |
*/ | |
if( window.YT ) return; | |
Typescript/angular port of @ffmpeg/ffmpeg library which is used with @ffmpeg/core (see https://github.com/ffmpegwasm/ffmpeg.wasm). Some smaller adjustments have also been made. | |
This snippet is designed to make use of web workers in angular (see https://angular.io/guide/web-worker) to encode media in a single threaded browser environment. |
Example on how to run locally an AWS Lambda via API Gateway using localstack.
Based on...