Share via

I can see my wordpress Javascript embedded file on my Desktop by not on my Iphone. Why cant I see the file with my iphone?

Anonymous
2023-07-14T19:01:45+00:00

Thanks so far from Microsoft community. My problem today is: I'm unable to view my embedded (using JavaScript) Wordpress file when I use my IPHONE However, I can see the embedded file when I am using my DESKTOP.

With Personal Onedrive there are two ways to get code to embed an excel workbook into wordpress:

(option 1) Right click on excel workbook in Onedrive and choose Embed. This option will only give you the iframe embed code (it works)

(option 2) Actually open the workbook and then choose File/Share/Embed. Now you get the customization screen and option to choose iframe code or Javascipt.

So in my case, I added the Javascript code to wordpress. I was able to see the embedded file using my DESKTOP. BUT, when I tried to access via my iphone, and I cannot see the embedded file (just a big white blank). Any idea why this is happening?Has anyone seen this issue and is there a workaround?

ps. I also tried using the iframe code and when I did this I was able to view on both my DESKTOP and my IPHONE.

Microsoft 365 and Office | OneDrive | For home | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2023-07-26T17:59:31+00:00

    Hi. Thanks for all the details!

    Hi lots of good info but fundamentally I am trying to post a blog with embedded excel sheets. The end user should be able to view the embedded sheets on their iphone without all the stuff you are recommending, otherwise its useless. So I think what I am hearing is, without this kind of additional adjustments, iphones wont be able to view javascript embedded worksheets.

    Regards,

    Waleed

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-07-14T19:37:00+00:00

    Hello IlirU,

    I’m Ajibola, an Independent Advisor and Microsoft user like you. Thanks for posting the query here in this forum.

    To open a JavaScript-embedded file on your iPhone in WordPress, you can follow these steps:

    1. Install a code editor app: Start by installing a code editor app on your iPhone. There are several code editor apps available on the App Store, such as Textastic, Coda, Buffer Editor, and JSAnywhere. Choose one that suits your preferences and install it on your device.
    2. Open the WordPress editor: Launch the WordPress app on your iPhone and log in to your WordPress account.
    3. Access the post or page: Navigate to the post or page that contains the JavaScript embedded file you want to open.
    4. Switch to HTML or Code editor: In the WordPress editor, look for an option to switch to the HTML or Code editor mode. This mode allows you to view and edit the raw HTML and code of your post or page.
    5. Locate the JavaScript embedded file: Look for the section or code snippet that contains the JavaScript embedded file. It is usually wrapped within <script> tags.
    6. Copy the JavaScript code: Select and copy the entire JavaScript code embedded within the <script> tags.
    7. Open the code editor app: Minimize or exit the WordPress app and open the code editor app you installed in Step 1.
    8. Create a new file or open an existing one: Create a new file or open an existing file in the code editor app where you want to paste the JavaScript code.
    9. Paste the JavaScript code: Paste the copied JavaScript code into the code editor app.
    10. Save and run the JavaScript file: Save the file in the code editor app and run it. The code editor app will execute the JavaScript code and display the output, or you can test it in a web browser on your iPhone.

    Using a dedicated code editor app allows you to work with JavaScript files more efficiently on your iPhone. You can edit, test, and execute the code within the app itself.

    Note: This process assumes that you have access to the WordPress editor and the necessary permissions to edit the post or page. If you do not have editing capabilities, you may need to reach out to the website owner or administrator to obtain the JavaScript code or make any necessary changes.

    I hope this helps.

    Kind Regards Ajibola

    Was this answer helpful?

    0 comments No comments