Editorial Workflows

Embed Youtube

public workflow

Install Workflow

This is a workflow for Editorial, a Markdown and plain text editor for iOS. To download it, you need to view this page on a device that has the app installed.

Description: Extracts the Youtube link from your clipboard and converts it to a Youtube embed code.

Shared by: @h4rd3z

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Get Clipboard ?
Find / Replace ?
Find
(?:(http|https)\:\/\/)(?:www\.|m\.|)(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
Set Variable ?
Variable Name
URL
Value
Input
Select from List ?
Title
Resolution
List (Lines)
560x315 width="560" height="315" 640x360 width="640" height="360" 853x480 width="853" height="480" 1280x720 width="1280" height="720"
Multiple Selection
OFF
Show in Popover
OFF
Set Variable ?
Variable Name
resolution
Value
Input
Generate Text ?
Text
<iframe resolution src="//www.youtube.com/embed/URL?rel=0" frameborder="0" allowfullscreen></iframe>
Replace Selected Text ?
Replacement Text
Input