Search Unity

Embed Unity Asset Store Links? [Question/Bug?]

Discussion in 'Unity Connect' started by ParadoxSolutions, Dec 10, 2017.

  1. ParadoxSolutions

    ParadoxSolutions

    Joined:
    Jul 27, 2015
    Posts:
    325
    When creating an article on Unity Collaborate under the embed options it lists "Unity Asset Store" link, now I have the HTML generated from the affiliate link creator, however it appears that I cannot embed HTML code for example:

    Code (JavaScript):
    1. <iframe src="https://api.assetstore.unity3d.com/affiliate/embed/package/83912/widget-wide?aid=1011l3btC&pubref=1011l3btC" style="width:600px; height:130px; border:0px;"></iframe>
    that would display an HTML widget asset store link (I don't think it works here)......so I guess what is an embedded asset store link and is it any different than a regular URL to the asset store page?
     
  2. markp-unity

    markp-unity

    Joined:
    Nov 3, 2015
    Posts:
    294
    Hey FirefightGI,

    Don't try to add it as an iframe. Just add the link and append the url with your aid "?aid=1011l3btC&pubref=1011l3btC"

    We will do the iframe for you. Test it out and get back to me if doesn't work! Thanks :D
     
  3. ParadoxSolutions

    ParadoxSolutions

    Joined:
    Jul 27, 2015
    Posts:
    325
    It says "Not a supported URL" when using a link formatted like so:

    "https://api.assetstore.unity3d.com/affiliate/embed/package/59733/widget-wide?aid=1011l3btC"

    Are you saying to just link to the asset store page with the aid at the end of that?

    I also have noticed that links over bold text don't show up, and each time I try to upload a GIF in article or as thumbnail it fails, is there a size requirement the GIF is (1110x510 ~13.1mb)? If it helps I'm using Microsoft Edge as my browser.

    I do realize collaborate is still in beta so I have patience for this, thanks in advance.