From 2d40f74524ec1512894ef4283495f07085607c95 Mon Sep 17 00:00:00 2001 From: Shawn Busolits Date: Fri, 12 Jan 2018 10:33:28 -0500 Subject: [PATCH] docs: Update README with new snippet and codepen link. (#483) --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 764c6211..afd468c1 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ empty) javascript file: - + @@ -44,7 +44,7 @@ empty) javascript file: - + @@ -63,7 +63,6 @@ var options = { adTagUrl: 'YOUR_AD_TAG' }; -// This must be called before player.play() below. player.ima(options); // On mobile devices, you must call initializeAdDisplayContainer as the result // of a user action (e.g. button click). If you do not make this call, the SDK @@ -74,6 +73,9 @@ player.ima(options); That's all there is to it! +## Playground +Check out the snippet above in-action [on CodePen](https://codepen.io/imasdk/pen/wpyQXP). + ## Additional settings The plugin accepts additional settings beyond the two required settings shown in the previous snippet. A summary of all settings follows: