Swiffy?

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Sep 08, 2012 7:52 pm
Reply with quote
Report this post
Hi

I would like to display swiffy outputs on my site
https://www.google.com/doubleclick/studio/swiffy/


swiffy converts flash to HTML5 and CSS

I paste the code into an article and it does not appear until the link to page artcle has been clicked - when using gknews

when I paste into html it is ok for a while then when I use jce is disppears.

I really want to put it into rockspocket as well as I need a responisve slide show but when I add the article with code in it noting appears.

Can you help?
Code: Select all
<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Swiffy output</title>
    <script src="https://www.gstatic.com/swiffy/v4.8/runtime.js"></script>

    <script>
      swiffyobject = {"tags":[{"type":9,"actions":[{"constants":["ear1","gotoAndPlay","ear2","mouth","min","max","intervalRandomAnimate",""],"type":136},{"value":"animateEars","type":305},{"body":[{"value":1,"type":305},{"value":1,"type":305},{"index":0,"type":304},{"type":28},{"index":1,"type":304},{"type":82},{"type":23},{"value":1,"type":305},{"value":1,"type":305},{"index":2,"type":304},{"type":28},{"index":1,"type":304},{"type":82},{"type":23},{"value":1,"type":305},{"value":1,"type":305},{"index":3,"type":304},{"type":28},{"index":1,"type":304},{"type":82},{"type":23}],"args":[],"type":155},{"type":60},{"index":4,"type":304},{"value":15,"type":305},{"type":29},{"index":5,"type":304},{"value":20,"type":305},{"type":29},{"index":6,"type":304},{"index":7,"type":304},{"type":29}]},{"bounds":[{"ymin":54,"ymax":1573,"xmin":-30,"xmax":1489}],"id":1,"fillstyles":[{"color":[-8960],"type":1},{"color":[-1],"type":1}],"paths":[{"fill":0,"data":[":89i31faaaaA:a:Ac:98DAadcaEAaaBc:9w46Eb02C:16E3ub0F9e3J6lb1K2q1K90cb:02c4u16eb4u4u16e4ub02c:15e4Ub4u4U4u16Eb:8U1K91Cb4D6F3J5Lb3U3U15E3Uc"]},{"data":[":48m22db1k3q1k91cb:02c4U16eb3U4u15E4ub02C:16E4Ub4U4U4U16Eb:8U1k90Cb3d7F3j6Lb4u3U16e3Ub02c:15e3ub9e9e3j5l"],"line":0},{"fill":1,"data":[":75j28cb9G:6M5gb6E6g5E4rbApa2cab:a3fUa1fLaAAbTXT6Ea:Dbb3Cy6EbyY0fYb6c:1fybvwx6ea:db:2cT6eayda4fqa7cmaa2Cb:8J7E4Rb6E5G5M5Gc:13FabA:B:b0H:6M6gb5E7g3E5raa3cb1eV3j2CawDbUXV6Ea:Eba3Cy6EbxY0fYb5c:0fxbwwy6ea:db:3cT6eaeaa2fma0ftaa3CbA8J8E3Rb6E4G4M4Gc:7z94db3G:4L1cb1E0c1E4gb:vm1da8c3cb1e1c4l1cb2g:4l1Cb3cT4d5Dag9Bb:4D1E4Gb2E1C4L1Cc"]}],"linestyles":[{"color":[-8960],"width":[60]}],"type":1},{"id":1,"matrix":"236e::779e11f1m","type":3,"depth":2},{"bounds":[{"ymin":-50,"ymax":519,"xmin":-50,"xmax":1961}],"id":2,"paths":[{"data":["::db77i31i11sD"],"line":0}],"flat":true,"linestyles":[{"color":[-1],"width":[100]}],"type":1},{"bounds":[{"ymin":-232,"ymax":26,"xmin":139,"xmax":1541}],"id":3,"fillstyles":[{"color":[-8960],"type":1}],"paths":[{"fill":0,"data":[":40h2Wb97B:07E5ib5L7e5Q8laS5ca02n:aT5Cb1E1G6Q8Lb9T5I05E5Ic"]}],"flat":true,"type":1},{"bounds":[{"ymin":-50,"ymax":519,"xmin":-50,"xmax":1961},{"ymin":-187,"ymax":575,"xmin":165,"xmax":1762}],"id":4,"paths":[{"data":["::db77i31i11sD",":5u9Kb71g97l97nR"],"line":0}],"linestyles":[{"color":[-1],"width":[100]}],"type":1},{"bounds":[{"ymin":-187,"ymax":575,"xmin":165,"xmax":1762}],"id":5,"paths":[{"data":[":5u9Kb71g97l97nR"],"line":0}],"flat":true,"linestyles":[{"color":[-1],"width":[100]}],"type":1},{"bounds":[{"ymin":-187,"ymax":575,"xmin":165,"xmax":1762},{"ymin":-50,"ymax":519,"xmin":-50,"xmax":1961}],"id":6,"paths":[{"data":[":5u9Kb71g97l97nR","::db77i31i11sD"],"line":0}],"linestyles":[{"color":[-1],"width":[100]}],"type":1},{"tags":[{"id":2,"matrix":"::::8G7m","type":3,"depth":1},{"id":3,"matrix":"::::13F03N","type":3,"depth":2},{"id":3,"matrix":"::::47k03N","type":3,"depth":3},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":4,"depth":1},{"id":4,"matrix":0,"type":3,"depth":1},{"type":2},{"replace":true,"ratio":32768,"type":3,"depth":1},{"replace":true,"matrix":"::::13F33N","type":3,"depth":2},{"replace":true,"matrix":"::::47k31N","type":3,"depth":3},{"type":2},{"type":4,"depth":1},{"id":5,"matrix":0,"type":3,"depth":1},{"replace":true,"matrix":"::::13F63N","type":3,"depth":2},{"replace":true,"matrix":"::::47k59N","type":3,"depth":3},{"type":2},{"replace":true,"matrix":"::::13F93N","type":3,"depth":2},{"replace":true,"matrix":"::::47k88N","type":3,"depth":3},{"type":2},{"replace":true,"matrix":"::::13F23O","type":3,"depth":2},{"replace":true,"matrix":"::::47k16O","type":3,"depth":3},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":4,"depth":1},{"id":6,"matrix":0,"type":3,"depth":1},{"replace":true,"matrix":"::::13F66N","type":3,"depth":2},{"replace":true,"matrix":"::::47k59N","type":3,"depth":3},{"type":2},{"replace":true,"ratio":32768,"type":3,"depth":1},{"replace":true,"matrix":"::::13F50N","type":3,"depth":2},{"replace":true,"matrix":"::::47k45N","type":3,"depth":3},{"type":2},{"type":4,"depth":1},{"id":2,"matrix":0,"type":3,"depth":1},{"replace":true,"matrix":"::::13F34N","type":3,"depth":2},{"replace":true,"matrix":"::::47k31N","type":3,"depth":3},{"type":2},{"replace":true,"matrix":"::::13F19N","type":3,"depth":2},{"replace":true,"matrix":"::::47k17N","type":3,"depth":3},{"type":2},{"replace":true,"matrix":"::::13F03N","type":3,"depth":2},{"replace":true,"matrix":"::::47k03N","type":3,"depth":3},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2}],"id":7,"frameCount":156,"type":7},{"id":7,"name":"mouth","matrix":"1595D::1413D40j66m","type":3,"depth":3},{"bounds":[{"ymin":-5,"ymax":6595,"xmin":0,"xmax":9200}],"id":8,"fillstyles":[{"color":[-8960],"type":1}],"paths":[{"fill":0,"data":["::Ea:600fa200i:a:600Fc"]}],"flat":true,"type":1},{"tags":[{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"id":8,"matrix":"2972F::2756F::","type":3,"depth":1},{"type":2},{"type":2},{"type":2}],"id":9,"frameCount":46,"type":7},{"id":9,"matrix":"1983c::1840c68h88d","type":3,"depth":7},{"id":9,"matrix":"1983c::1840c54n88d","type":3,"depth":9},{"bounds":[{"ymin":-18,"ymax":799,"xmin":1605,"xmax":2399}],"id":10,"fillstyles":[{"color":[-8960],"type":1}],"paths":[{"fill":0,"data":[":87slb7N:5Y1jb3F8e7I2ma6d0jb6j5u9w19da7eebh:p:b6l:5v6Ga0cZb5j8I9k8WabYaA5Da71C7ba1t13CaVNbOI0COb6F9B2N2CbH:Q:c"]},{"data":[":20s64ga7eeb6me1x6Ga0cZb5j8I9k8WabYaA5Da71C7ba1t13CaVNbOI0COb6F9B2N2Cb7OF72B1jb3F8e7I2m"],"line":0}],"linestyles":[{"color":[-8960],"width":[60]}],"type":1},{"bounds":[{"ymin":0,"ymax":523,"xmin":0,"xmax":775}],"id":11,"fillstyles":[{"color":[-8960],"type":1}],"paths":[{"fill":0,"data":[":08d:b8T:54C6nb0C1c4E4fa19d13ca56c63CaMNb7N6N54C6Nc"]}],"flat":true,"type":1},{"bounds":[{"ymin":0,"ymax":665,"xmin":0,"xmax":511}],"id":12,"fillstyles":[{"color":[-8960],"type":1}],"paths":[{"fill":0,"data":[":2i:b2I7l2I93bb:8t6n55casqa46c52Ca19D13Cc"]}],"flat":true,"type":1},{"tags":[{"type":2},{"type":2},{"type":2},{"id":11,"matrix":"543D776w776W543D27c0J","type":3,"depth":1},{"id":12,"matrix":"923H2776C2776c923H6E02e","type":3,"depth":2},{"type":2},{"replace":true,"matrix":"81K979k979K81K2u7E","type":3,"depth":1},{"replace":true,"matrix":"49W955P955p49WP58c","type":3,"depth":2},{"type":2},{"replace":true,"matrix":"::::3kn","type":3,"depth":1},{"replace":true,"matrix":"::::u4v","type":3,"depth":2},{"type":2},{"replace":true,"matrix":"80K978k978K80K4u6D","type":3,"depth":1},{"replace":true,"matrix":"50W955P955p50W7C57c","type":3,"depth":2},{"type":2},{"replace":true,"matrix":"543D776w776W543D27c0J","type":3,"depth":1},{"replace":true,"matrix":"923H2776C2776c923H6E02e","type":3,"depth":2},{"type":2},{"type":2},{"replace":true,"matrix":"81K979k979K81K2u7E","type":3,"depth":1},{"replace":true,"matrix":"49W955P955p49W6C58c","type":3,"depth":2},{"type":2},{"replace":true,"matrix":"::::3kn","type":3,"depth":1},{"replace":true,"matrix":"::::u4v","type":3,"depth":2},{"type":2},{"replace":true,"matrix":"80K978k978K80K4u6D","type":3,"depth":1},{"replace":true,"matrix":"50W955P955p50W7C57c","type":3,"depth":2},{"type":2},{"replace":true,"matrix":"543D776w776W543D27c0J","type":3,"depth":1},{"replace":true,"matrix":"923H2776C2776c923H6E02e","type":3,"depth":2},{"type":2},{"type":2},{"type":2}],"id":13,"frameCount":15,"type":7},{"tags":[{"id":10,"matrix":0,"type":3,"depth":1},{"id":13,"name":"ear1","matrix":"4410K::662P10xP","type":3,"depth":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":4,"depth":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"id":13,"ratio":129,"name":"ear1","matrix":"4410K::662P10xP","type":3,"depth":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":4,"depth":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"id":13,"ratio":219,"name":"ear1","matrix":"4410K::662P10xP","type":3,"depth":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":4,"depth":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":2},{"type":9,"actions":[{"frame":44,"type":129},{"type":6}]},{"type":2}],"id":14,"frameCount":265,"type":7},{"id":14,"name":"ear2","matrix":"8132L::736C67x4k","type":3,"depth":11},{"id":14,"name":"ear1","matrix":"969B::770C39c4k","type":3,"depth":14},{"id":15,"records":[{"id":8,"transform":"::::::","states":8,"depth":1}],"type":10,"actions":[{"events":2048,"key":0,"actions":[{"value":0,"type":305},{"value":"animateEars","type":305},{"type":61},{"type":23}]}]},{"id":15,"matrix":"5590D::7266D:b","type":3,"depth":17},{"type":2}],"fileSize":1368,"v":"4.8.0","backgroundColor":-1,"frameSize":{"ymin":0,"ymax":1840,"xmin":0,"xmax":2800},"frameCount":1,"frameRate":12,"code":"","version":6};
    </script>
    <style>html, body {width: 100%; height: 100%}</style>
  <script type="text/javascript"></script><link rel='stylesheet' type='text/css' href='/B1D671CF-E532-4481-99AA-19F420D90332/netdefender/hui/ndhui.css' /></head>
  <body style="margin: 0; overflow: hidden"><script type='text/javascript' language='javascript' src='/B1D671CF-E532-4481-99AA-19F420D90332/netdefender/hui/ndhui.js?0=0&amp;0=0&amp;0=0'></script>
    <div id="swiffycontainer" style="width: 140px; height: 92px">
    </div>
    <script>
      var stage = new swiffy.Stage(document.getElementById('swiffycontainer'),
                                   swiffyobject);
     
      stage.start();
    </script>
  </body>
</html>
User avatar
Senior Boarder

GK User
Sun Sep 09, 2012 12:19 am
Reply with quote
Report this post
By default Joomla! content editor strip code when it is inserted directly in art source. You should add code to article pages by modifying template files. Layout for single article item you can find in root/templates/gk_templatename/html/com_content/article/default.php file.
User avatar
Platinum Boarder

GK User
Sun Sep 09, 2012 4:47 am
Reply with quote
Report this post
The code i have added is for an animation. I have several I would liike to add to different articles and then display these articles in a gk slider or in gk news.


I cant see how your solutions would solve this issue.

I can add code to a spcialist module that accept js and php and live code

But

GKnews does not display modules only articles.

so can you suggets an alternatove method.
User avatar
Senior Boarder

GK User
Sun Sep 09, 2012 8:23 am
Reply with quote
Report this post
User avatar
Platinum Boarder

GK User
Sun Sep 09, 2012 9:44 am
Reply with quote
Report this post
Thanks :)

I will give it a try and let you know how it goes,


thank you.
User avatar
Senior Boarder

GK User
Sun Sep 09, 2012 10:46 am
Reply with quote
Report this post
The content can be added with sourcer but when I display the page via gk news module
GAMIFICATION
{source}
is the result

the title and the word source
- no active code! :?

:?

then when you click on the words on the next page the animaiton shows!
http://sandboxeducation.co.uk:7080/inde ... mification
User avatar
Senior Boarder

GK User
Tue Sep 11, 2012 11:59 am
Reply with quote
Report this post
Your link is 404 and regarding sourcer make sure plugin is enabled for further help see this page on sourcer FAQs.

http://www.nonumber.nl/extensions/sourc ... e-frontend


See you around...
User avatar
Platinum Boarder

GK User
Thu Sep 13, 2012 9:05 am
Reply with quote
Report this post
yes the lnk was 404

I remove the work as it froze the site... i coud harldy leave it there..


if you can answer the question and help that woudl be great.. if you have any idea why it removes the scroll bar thanks I woudl love an answer.

I do not need to leave a page with no scroll bar on my site to show you it has not scroll bar..
yes I did publish the plugin.. it you read the post I made I said that i had it working... that woud not have happened if i had made such a basic error.

I am getting tectchy becuase I am tryign to get help wiht complex issues and it seems when the person has nto idea they throw it back to me as if I have made some basic dumb mistake.. :shock:
User avatar
Senior Boarder

GK User
Thu Sep 13, 2012 11:42 pm
Reply with quote
Report this post
We are sorry you are getting frustrated but you have to realize what you are requesting is outside our support scope as this is a custom request, regardless you have 2 moderators answering to your query.

You have stated module is showing {source} tags which shows plugin has not processed the content and therefore we have redirected you to sourcer faq for further help as we don't offer support for third party products unless it is included with our templates.
User avatar
Platinum Boarder

GK User
Fri Sep 14, 2012 10:03 am
Reply with quote
Report this post
thank you for reply.

I would be willing to pay for development time to get a fix on this.

Can you Gavick pro offer this or suggest someone?
User avatar
Senior Boarder

GK User
Mon Sep 17, 2012 6:09 am
Reply with quote
Report this post
You can try in following joomla forum for custom development services.

Professional Development Services Forum
http://forum.joomla.org/viewforum.php?f=177

See you around...
User avatar
Platinum Boarder

GK User
Fri May 02, 2014 8:34 pm
Reply with quote
Report this post
For what it's worth, I've been able to get Swiffy content (Flash converted to HTML5) on our Joomla 3 site by uploading the output HTML file on our server, then inserting iFrame code within an article that calls the dynamic content into play. It's not the optimal method yet it works fine. I'd prefer to serve Flash to those who can view it, and have an alternate page / module to display the HTML 5 version for mobiles and IOs devices like iPhone or iPad.

In regards to the OP (original post) above, I'm using the JCE editor and have it configured NOT to strip (fix or clean) code from articles yet that will not work due to the method in which swiffy provides the converted Flash content. The majority of any swiffy output is javascript placed within the <header> tag combined with a snippet of code in a <body> tag, which causes conflicts for me.
User avatar
Expert Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.