Can I add a YouTube video with private status?

*Hi ,*Can I add a YouTube video URL with private status?
Can I use api or something?

and
Can I upload a video larger than 100 MB?

Hi @choltha

If by private status you mean videos that are ‘unlisted’ from YT, then yes it should still work provided you have the URL to the video. Basically if you can access the YT link with an incognito browser window then it should work even though you can’t search for it on YT.

If by this you mean uploading directly into the platform instead of hosting videos on Youtube then yes there is work being done on this, there’s still some things I need to fix up to get it passed into master, it’s not 100% to standard, but if you want to try it out you can have a look here: Override upload file max size in mb by MuPp3t33r · Pull Request #2370 · openedx/frontend-app-authoring · GitHub
currently the default limit on frontend authoring MFE is 20MB

@joel.edwards Thanks. I’m gonna try it.

I add two plugins and enable but error

File VID_20250803_164953.mp4 exceeds maximum size of 100 MB.

from tutormfe.hooks import MFE_APPS

@MFE_APPS.add()
def _override_authoring_mfe(mfes):
mfes[“authoring”] = {
“repository”: “https://github.com/MuPp3t33r/frontend-app-authoring.git”,
“version”: “OVERRIDE_UPLOAD_FILE_MAX_SIZE_IN_MB”,
“port”: 2001,
}
return mfes


cat file Caddyfile

Thanks @choltha
I confirm same result for me. Looks like this was something I completely missed in testing as I only tried with files greater than 20MB but less than 100MB.

It seems that MAX_ASSET_UPLOAD_FILE_SIZE_IN_MB = 100 is still actually being used here and I clearly have some more work to do on this PR.

As far as I can tell this setting doesn’t influence the limits displayed in frontend-app-authoring component, yet it is still used when handling the file upload from the authoring mfe.

Try this updated patch to also apply the same override value to this variable, it appears to work for me (I just uploaded a 170MB file to test), so hopefully that should get you in a position where you can start uploading larger files…

from tutor import hooks

# Instructions / info
# override_value is defined as a string so bad formats (incorrectly entered values) don't crash Python immediately
# User MUST enter only digits as a POSITIVE integer representing a value in MegaBytes (MB), e.g. "1024" for 1GB
# This adds the value to the MFE_Config API as well as the CaddyFile CMS block

override_value = "1024"  

# --- Validation ---
try:
    override_int = int(override_value)
    if override_int <= 0:
        raise ValueError
except ValueError:
    raise ValueError(
        f"Invalid override_value: {override_value}. "
        "It must be a positive integer without units (e.g., 1024)."
    )

# --- Config patches ---
hooks.Filters.ENV_PATCHES.add_items([
    (
        "openedx-lms-production-settings",
        f"""
MFE_CONFIG["OVERRIDE_UPLOAD_FILE_MAX_SIZE_IN_MB"] = "{override_int}"
"""
    ),
    (
        "openedx-cms-common-settings",
        f"""
MAX_ASSET_UPLOAD_FILE_SIZE_IN_MB = {override_int}
"""
    ),
])

hooks.Filters.ENV_PATCHES.add_item(
    (
        "caddyfile-cms",
        f"""
# Maximum asset upload size in CMS/Studio
handle /assets/* {{
    request_body {{
        max_size {override_int}MB
    }}
}}
        """
    )
)

@joel.edwards Thanks. It worked.

I found a bug after upload file.
I Can not copy url video.